use of com.buschmais.jqassistant.plugin.java.api.model.ParameterDescriptor in project jqa-java-plugin by buschmais.
the class MethodSignatureVisitor method visitParameterType.
@Override
public SignatureVisitor visitParameterType() {
final ParameterDescriptor parameterDescriptor = visitorHelper.addParameterDescriptor(methodDescriptor, parameterIndex);
parameterIndex++;
return new AbstractTypeSignatureVisitor(containingType, visitorHelper) {
@Override
public SignatureVisitor visitArrayType() {
return dependentTypeSignatureVisitor;
}
@Override
public SignatureVisitor visitTypeArgument(char wildcard) {
return dependentTypeSignatureVisitor;
}
@Override
public void visitEnd(TypeDescriptor resolvedTypeDescriptor) {
parameterDescriptor.setType(resolvedTypeDescriptor);
}
};
}
Aggregations