Class Accessor
java.lang.Object
com.github.rvesse.airline.Accessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidboolean<T extends Annotation>
TgetAnnotation(Class<T> annotationCls) private static Class<?> getItemType(String name, Type type) Class<?> getName()private static Collection<Object> getOrCreateCollectionField(String name, Object object, Field field) private static Class<?> getRawType(Type type) private static Type[]getTypeParameters(Class<?> desiredType, Type type) inthashCode()booleanprivate static Collection<Object> newCollection(Class<?> type) toString()
-
Field Details
-
name
-
javaType
-
path
-
multiValued
private boolean multiValued
-
-
Constructor Details
-
Accessor
-
Accessor
-
Accessor
-
Accessor
-
-
Method Details
-
getName
-
getJavaType
-
isMultiValued
public boolean isMultiValued() -
getValue
-
getAnnotation
-
addValues
-
equals
-
hashCode
-
toString
-
newCollection
-
getOrCreateCollectionField
private static Collection<Object> getOrCreateCollectionField(String name, Object object, Field field) -
getItemType
-
getRawType
-
getTypeParameters
-