public class ResolveMethodSignature extends EmptySignatureVisitor
ignore
api, EXTENDS, INSTANCEOF, SUPER
Constructor and Description |
---|
ResolveMethodSignature(Resolver resolver,
TreeLogger logger,
JAbstractMethod method,
TypeParameterLookup typeParamLookup,
boolean hasReturnType,
CollectMethodData methodData,
Type[] argTypes,
String[] argNames,
boolean argNamesAreReal,
MethodArgNamesLookup allMethodArgs)
Resolve a method signature.
|
Modifier and Type | Method and Description |
---|---|
boolean |
finish() |
SignatureVisitor |
visitArrayType()
Treated as a visitEnd for this visitor.
|
SignatureVisitor |
visitClassBound()
Visits the class bound of the last visited formal type parameter.
|
SignatureVisitor |
visitExceptionType()
Visits the type of a method exception.
|
void |
visitFormalTypeParameter(String name)
Visits a formal type parameter.
|
SignatureVisitor |
visitInterfaceBound()
Visits an interface bound of the last visited formal type parameter.
|
SignatureVisitor |
visitParameterType()
Visits the type of a method parameter.
|
SignatureVisitor |
visitReturnType()
Visits the return type of the method.
|
visitBaseType, visitClassType, visitEnd, visitInnerClassType, visitInterface, visitSuperclass, visitTypeArgument, visitTypeArgument, visitTypeVariable
public ResolveMethodSignature(Resolver resolver, TreeLogger logger, JAbstractMethod method, TypeParameterLookup typeParamLookup, boolean hasReturnType, CollectMethodData methodData, Type[] argTypes, String[] argNames, boolean argNamesAreReal, MethodArgNamesLookup allMethodArgs)
resolver
- logger
- method
- typeParamLookup
- hasReturnType
- methodData
- argTypes
- argNames
- argNamesAreReal
- allMethodArgs
- public boolean finish()
public SignatureVisitor visitArrayType()
EmptySignatureVisitor
visitArrayType
in class EmptySignatureVisitor
public SignatureVisitor visitClassBound()
SignatureVisitor
visitClassBound
in class EmptySignatureVisitor
public SignatureVisitor visitExceptionType()
SignatureVisitor
visitExceptionType
in class EmptySignatureVisitor
public void visitFormalTypeParameter(String name)
SignatureVisitor
visitFormalTypeParameter
in class EmptySignatureVisitor
name
- the name of the formal parameter.public SignatureVisitor visitInterfaceBound()
SignatureVisitor
visitInterfaceBound
in class EmptySignatureVisitor
public SignatureVisitor visitParameterType()
SignatureVisitor
visitParameterType
in class EmptySignatureVisitor
public SignatureVisitor visitReturnType()
SignatureVisitor
visitReturnType
in class EmptySignatureVisitor
Copyright © 2018. All rights reserved.