Class InvisibleArrayConstructorImpl<T>
java.lang.Object
spoon.support.reflect.declaration.CtElementImpl
spoon.support.reflect.declaration.CtNamedElementImpl
spoon.support.reflect.declaration.CtExecutableImpl<T>
spoon.support.reflect.declaration.CtConstructorImpl<T>
spoon.support.reflect.declaration.InvisibleArrayConstructorImpl<T>
- All Implemented Interfaces:
- Serializable,- Cloneable,- FactoryAccessor,- CtBodyHolder,- SourcePositionHolder,- CtConstructor<T>,- CtElement,- CtExecutable<T>,- CtFormalTypeDeclarer,- CtModifiable,- CtNamedElement,- CtShadowable,- CtTypedElement<T>,- CtTypeMember,- CtQueryable,- CtVisitable
This class is used to represent the constructor of an array when calling with an expression like
 
     String[]::new
 
 Warning: this type is never present in the Spoon model.
 It is created dynamically when calling the executable of an expression such as the one in the example.- See Also:
- Serialized Form
- 
Field SummaryFields inherited from class spoon.support.reflect.declaration.CtElementImplERROR_MESSAGE_TO_STRING, factory, LOGGER, parentFields inherited from interface spoon.reflect.declaration.CtExecutableEXECUTABLE_SEPARATOR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the type that declares this class member.getType()Gets this element's type.<C extends CtTypedElement>
 CsetType(CtTypeReference type)Sets this element's type.toString()Methods inherited from class spoon.support.reflect.declaration.CtConstructorImplaccept, addFormalCtTypeParameter, addFormalCtTypeParameterAt, addModifier, clone, getExtendedModifiers, getFormalCtTypeParameters, getModifiers, getSimpleName, getVisibility, hasModifier, isAbstract, isCompactConstructor, isFinal, isNative, isPrivate, isProtected, isPublic, isShadow, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, removeFormalCtTypeParameter, removeModifier, setCompactConstructor, setExtendedModifiers, setFormalCtTypeParameters, setModifiers, setShadow, setSimpleName, setVisibilityMethods inherited from class spoon.support.reflect.declaration.CtExecutableImpladdParameter, addParameterAt, addThrownType, getBody, getParameters, getReference, getSignature, getThrownTypes, getTopLevelType, removeParameter, removeThrownType, setBody, setParameters, setThrownTypesMethods inherited from class spoon.support.reflect.declaration.CtElementImpladdAnnotation, addComment, asIterable, comment, delete, descendantIterator, emptyList, emptySet, equals, filterChildren, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getFactory, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hashCode, hasParent, isImplicit, isParentInitialized, map, map, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setFactory, setImplicit, setParent, setPosition, setPositions, setValueByRole, toStringDebug, unmodifiableList, updateAllParentsBelowMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface spoon.reflect.code.CtBodyHoldersetBodyMethods inherited from interface spoon.reflect.declaration.CtElementaddAnnotation, addComment, asIterable, delete, descendantIterator, getAllMetadata, getAnnotatedChildren, getAnnotation, getAnnotation, getAnnotations, getComments, getDirectChildren, getDocComment, getElements, getMetadata, getMetadataKeys, getOriginalSourceFragment, getParent, getParent, getParent, getPath, getPosition, getReferencedTypes, getRoleInParent, getShortRepresentation, getValueByRole, hasAnnotation, hasParent, isImplicit, isParentInitialized, prettyprint, putMetadata, removeAnnotation, removeComment, replace, replace, setAllMetadata, setAnnotations, setComments, setDocComment, setImplicit, setParent, setPosition, setPositions, setValueByRole, toStringDebug, updateAllParentsBelowMethods inherited from interface spoon.reflect.declaration.CtExecutableaddParameter, addParameterAt, addThrownType, getBody, getParameters, getReference, getSignature, getThrownTypes, removeParameter, removeThrownType, setParameters, setThrownTypesMethods inherited from interface spoon.reflect.visitor.chain.CtQueryablefilterChildren, map, mapMethods inherited from interface spoon.reflect.declaration.CtTypeMembergetTopLevelTypeMethods inherited from interface spoon.processing.FactoryAccessorgetFactory, setFactory
- 
Constructor Details- 
InvisibleArrayConstructorImplpublic InvisibleArrayConstructorImpl()
 
- 
- 
Method Details- 
getTypeDescription copied from interface:CtTypedElementGets this element's type.- Specified by:
- getTypein interface- CtTypedElement<T>
- Overrides:
- getTypein class- CtConstructorImpl<T>
 
- 
setTypeDescription copied from interface:CtTypedElementSets this element's type.- Specified by:
- setTypein interface- CtConstructor<T>
- Specified by:
- setTypein interface- CtTypedElement<T>
- Overrides:
- setTypein class- CtConstructorImpl<T>
 
- 
toString- Specified by:
- toStringin interface- CtElement
- Overrides:
- toStringin class- CtElementImpl
- Returns:
- the source code of this element according to the setting of Environment.getPrettyPrintingMode().
 
- 
getDeclaringTypeDescription copied from interface:CtTypeMemberGets the type that declares this class member.- Specified by:
- getDeclaringTypein interface- CtTypeMember
- Overrides:
- getDeclaringTypein class- CtConstructorImpl<T>
- Returns:
- declaring class
 
 
-