Class LambdaArgumentTypePlaceholder
- java.lang.Object
-
- com.github.javaparser.symbolsolver.javaparsermodel.LambdaArgumentTypePlaceholder
-
- All Implemented Interfaces:
com.github.javaparser.resolution.types.ResolvedType
public class LambdaArgumentTypePlaceholder extends Object implements com.github.javaparser.resolution.types.ResolvedType
Placeholder used to represent a lambda argument type while it is being calculated.- Author:
- Federico Tomassetti
-
-
Constructor Summary
Constructors Constructor Description LambdaArgumentTypePlaceholder(int pos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
describe()
boolean
isArray()
boolean
isAssignableBy(com.github.javaparser.resolution.types.ResolvedType other)
boolean
isPrimitive()
boolean
isReferenceType()
boolean
isTypeVariable()
void
setMethod(com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration> method)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.javaparser.resolution.types.ResolvedType
arrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, isConstraint, isNull, isReference, isUnionType, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariables
-
-
-
-
Method Detail
-
isArray
public boolean isArray()
- Specified by:
isArray
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitive
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isReferenceType
public boolean isReferenceType()
- Specified by:
isReferenceType
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
describe
public String describe()
- Specified by:
describe
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
isTypeVariable
public boolean isTypeVariable()
- Specified by:
isTypeVariable
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
setMethod
public void setMethod(com.github.javaparser.symbolsolver.model.resolution.SymbolReference<? extends com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration> method)
-
isAssignableBy
public boolean isAssignableBy(com.github.javaparser.resolution.types.ResolvedType other)
- Specified by:
isAssignableBy
in interfacecom.github.javaparser.resolution.types.ResolvedType
-
-