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:
trueif 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
@Incubating default boolean enclosingInstanceCanBeNull()Starting with JDk 25, there is an additional check within the constructor itself, that by default prevents passingnullas a value for an enclosing instance.- Returns:
- Whether
nullcan be passed as an enclosing instance.
-
equals
-
hashCode
-