Interface PojoMethodParameterModel<T>
- All Known Implementing Classes:
PojoModelsMethodParameterModel
public interface PojoMethodParameterModel<T>
-
Method Details
-
index
int index() -
name
-
annotations
Stream<Annotation> annotations() -
typeModel
PojoTypeModel<T> typeModel() -
isEnclosingInstance
boolean isEnclosingInstance()- Returns:
true
if this parameter is expected to receive an "enclosing instance", e.g. an instance of the enclosing class in the case of Java inner classes or method-local classes.
-
enclosingInstanceCanBeNull
Starting with JDk 25, there is an additional check within the constructor itself, that by default prevents passingnull
as a value for an enclosing instance.- Returns:
- Whether
null
can be passed as an enclosing instance.
-
equals
- Overrides:
equals
in classObject
- Returns:
true
ifobj
is aMappableTypeModel
referencing the exact same type with the exact same exposed metadata.
-
hashCode
int hashCode()
-