Package org.aksw.jenax.reprogen.core
Class MethodDescriptorBase
java.lang.Object
org.aksw.jenax.reprogen.core.MethodDescriptorBase
- All Implemented Interfaces:
MethodDescriptor
- Direct Known Subclasses:
MethodDescriptorCollection,MethodDescriptorMap,MethodDescriptorSimple
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMethodDescriptorBase(Method method, boolean isGetter, boolean isFluentCompatible) -
Method Summary
Modifier and TypeMethodDescriptionThe method described by this descriptorbooleanOnly applicable to setters - is the method's return type assignable from the method's declaring class?booleanisGetter()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jenax.reprogen.core.MethodDescriptor
getCollectionType, getItemType, getKeyType, getType, getValueType, isCollectionValued, isDynamicCollection, isMapType, isSetter
-
Field Details
-
method
-
isGetter
protected boolean isGetter -
isFluentCompatible
protected boolean isFluentCompatible
-
-
Constructor Details
-
MethodDescriptorBase
-
-
Method Details
-
getMethod
Description copied from interface:MethodDescriptorThe method described by this descriptor- Specified by:
getMethodin interfaceMethodDescriptor- Returns:
-
isGetter
public boolean isGetter()- Specified by:
isGetterin interfaceMethodDescriptor
-
isFluentCompatible
public boolean isFluentCompatible()Description copied from interface:MethodDescriptorOnly applicable to setters - is the method's return type assignable from the method's declaring class?- Specified by:
isFluentCompatiblein interfaceMethodDescriptor- Returns:
-