Class MirrorTypeFactory.MirrorConstructor
java.lang.Object
org.infinispan.protostream.annotations.impl.processor.types.MirrorTypeFactory.MirrorConstructor
- All Implemented Interfaces:
XConstructor,XElement,XExecutable,XMember
- Enclosing class:
MirrorTypeFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MirrorTypeFactory.MirrorClassprivate final ExecutableElementprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionMirrorConstructor(MirrorTypeFactory.MirrorClass c, ExecutableElement executableElement) -
Method Summary
Modifier and TypeMethodDescriptionboolean<A extends Annotation>
AgetAnnotation(Class<A> annotationClass) Returns this element's annotation if present.<A extends Annotation>
A[]getAnnotationsByType(Class<A> annotationClass) Collect and concatenate the description text from the (possibly multiple)@ProtoDoc.valueannotations found on the element, in order of occurrence.intThe modifiers, as per java.lang.reflect.Modifier.getName()intString[]XClass[]inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.protostream.annotations.impl.types.XElement
getTypeArgument, isFinal, isPrivate, isPublic, isStaticMethods inherited from interface org.infinispan.protostream.annotations.impl.types.XMember
determineRepeatedElementType
-
Field Details
-
c
-
executableElement
-
modifiers
private final int modifiers
-
-
Constructor Details
-
MirrorConstructor
MirrorConstructor(MirrorTypeFactory.MirrorClass c, ExecutableElement executableElement)
-
-
Method Details
-
getParameterCount
public int getParameterCount()- Specified by:
getParameterCountin interfaceXExecutable
-
getParameterNames
- Specified by:
getParameterNamesin interfaceXExecutable
-
getParameterTypes
- Specified by:
getParameterTypesin interfaceXExecutable
-
getName
-
getModifiers
public int getModifiers()Description copied from interface:XElementThe modifiers, as per java.lang.reflect.Modifier.- Specified by:
getModifiersin interfaceXElement
-
getDeclaringClass
- Specified by:
getDeclaringClassin interfaceXMember
-
getAnnotation
Description copied from interface:XElementReturns this element's annotation if present.- Specified by:
getAnnotationin interfaceXElement
-
getAnnotationsByType
- Specified by:
getAnnotationsByTypein interfaceXElement
-
getDocumentation
Description copied from interface:XElementCollect and concatenate the description text from the (possibly multiple)@ProtoDoc.valueannotations found on the element, in order of occurrence.- Specified by:
getDocumentationin interfaceXElement- Returns:
- the documentation or
nullif no doc or empty doc present
-
equals
-
hashCode
public int hashCode() -
toString
-
toGenericString
- Specified by:
toGenericStringin interfaceXExecutable
-