Interface JMethodType
- All Superinterfaces:
honeyroasted.collect.copy.Copyable<JType, JTypeCache<JType,,JType>> JGenericDeclaration,JType,honeyroasted.collect.modify.PossiblyUnmodifiable,honeyroasted.almonds.SimpleName
- All Known Subinterfaces:
JMethodReference,JParameterizedMethodType
- All Known Implementing Classes:
JMethodReferenceDelegate,JMethodReferenceImpl,JParameterizedMethodTypeDelegate,JParameterizedMethodTypeImpl
public interface JMethodType
extends JGenericDeclaration, honeyroasted.collect.modify.PossiblyUnmodifiable
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jype.type.JType
JType.Equality -
Method Summary
Modifier and TypeMethodDescriptiondefault <R,P> R accept(JTypeVisitor<R, P> visitor, P context) default JAccessaccess()default JGenericDeclarationLocationdefault booleanhasModifier(JAccess flag) default booleanhasModifier(AccessFlag flag) default booleanbooleandefault booleanlocation()intresolveVarType(String name) voidsetExceptionTypes(List<JType> exceptionTypes) voidsetLocation(JMethodLocation location) voidsetModifiers(int modifiers) voidsetOuterClass(JClassReference outerClass) voidsetParameters(List<JType> parameters) voidsetReturnType(JType returnType) voidsetTypeParameters(List<JVarType> typeParameters) Methods inherited from interface honeyroasted.jype.type.JType
accept, accept, copy, copy, declarationSignature, descriptor, downwardsProjection, downwardsProjection, equals, equals, hasCyclicTypeVariables, hasCyclicTypeVariables, hashCode, isAssignableFrom, isAssignableTo, isCompatibleFrom, isCompatibleTo, isContextType, isNullType, isProperType, isResultType, knownDirectSupertypes, metadata, signature, structuralEquals, typeEquals, typeSystem, upwardsProjection, upwardsProjection, varTypeResolverMethods inherited from interface honeyroasted.collect.modify.PossiblyUnmodifiable
isUnmodifiable, setUnmodifiableMethods inherited from interface honeyroasted.almonds.SimpleName
simpleName
-
Method Details
-
location
JMethodLocation location() -
genericDeclarationLocation
- Specified by:
genericDeclarationLocationin interfaceJGenericDeclaration
-
setLocation
-
modifiers
int modifiers() -
access
-
hasModifier
-
hasModifier
-
setModifiers
void setModifiers(int modifiers) -
outerClass
JClassReference outerClass() -
setOuterClass
-
hasRelevantOuterType
default boolean hasRelevantOuterType() -
methodReference
JMethodReference methodReference() -
outerType
JClassType outerType() -
returnType
JType returnType() -
setReturnType
-
hasTypeParameters
default boolean hasTypeParameters() -
exceptionTypes
-
setExceptionTypes
-
typeParameters
- Specified by:
typeParametersin interfaceJGenericDeclaration
-
setTypeParameters
- Specified by:
setTypeParametersin interfaceJGenericDeclaration
-
parameters
-
setParameters
-
hasTypeArguments
boolean hasTypeArguments() -
typeArguments
List<JArgumentType> typeArguments() -
accept
-
resolveVarType
- Specified by:
resolveVarTypein interfaceJGenericDeclaration
-