Class AnnotationType
java.lang.Object
org.moosetechnology.model.famix.moose.Object
org.moosetechnology.model.famix.moose.Entity
org.moosetechnology.model.famix.famixjavaentities.Entity
org.moosetechnology.model.famix.famixjavaentities.SourcedEntity
org.moosetechnology.model.famix.famixjavaentities.NamedEntity
org.moosetechnology.model.famix.famixjavaentities.ContainerEntity
org.moosetechnology.model.famix.famixjavaentities.Type
org.moosetechnology.model.famix.famixjavaentities.AnnotationType
- All Implemented Interfaces:
TBound, TWithInterfaces, TAnnotationType, TCanBeStub, THasVisibility, TImplementable, TNamedEntity, TPackageable, TReferenceable, TSourceEntity, TType, TTypeArgument, TWithAnnotationInstances, TWithAnnotationTypes, TWithAttributes, TWithClasses, TWithComments, TWithInheritances, TWithMethods, TWithTypes, TEntityMetaLevelDependency
public class AnnotationType
extends Type
implements TAnnotationType, TTypeArgument, THasVisibility, TImplementable, TPackageable, TWithAttributes, TWithComments, TWithInheritances
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributes(Iterable<? extends TAttribute> many) voidaddAttributes(TAttribute one) voidaddAttributes(TAttribute[] many) voidaddAttributes(TAttribute one, TAttribute... many) voidaddComments(Iterable<? extends TComment> many) voidaddComments(TComment one) voidaddComments(TComment[] many) voidaddComments(TComment one, TComment... many) voidaddImplementations(Iterable<? extends TImplementation> many) voidvoidaddImplementations(TImplementation[] many) voidaddImplementations(TImplementation one, TImplementation... many) voidaddInstances(Iterable<? extends TAnnotationInstance> many) voidvoidaddInstances(TAnnotationInstance[] many) voidaddInstances(TAnnotationInstance one, TAnnotationInstance... many) voidaddOutgoingConcretizations(Iterable<? extends TConcretization> many) voidvoidvoidaddOutgoingConcretizations(TConcretization one, TConcretization... many) voidaddSubInheritances(Iterable<? extends TInheritance> many) voidvoidaddSubInheritances(TInheritance[] many) voidaddSubInheritances(TInheritance one, TInheritance... many) voidaddSuperInheritances(Iterable<? extends TInheritance> many) voidvoidaddSuperInheritances(TInheritance[] many) voidaddSuperInheritances(TInheritance one, TInheritance... many) booleanbooleanbooleanbooleanbooleanbooleanbooleanintintintintintintintvoidsetAnnotationTypesContainer(TWithAnnotationTypes annotationTypesContainer) voidsetAttributes(Collection<? extends TAttribute> attributes) voidsetComments(Collection<? extends TComment> comments) voidsetImplementations(Collection<? extends TImplementation> implementations) voidsetInstances(Collection<? extends TAnnotationInstance> instances) voidsetOutgoingConcretizations(Collection<? extends TConcretization> outgoingConcretizations) voidsetParentPackage(TPackage parentPackage) voidsetSubInheritances(Collection<? extends TInheritance> subInheritances) voidsetSuperInheritances(Collection<? extends TInheritance> superInheritances) voidsetVisibility(String visibility) Methods inherited from class Type
addIncomingReferences, addIncomingReferences, addIncomingReferences, addIncomingReferences, addIncomingTypings, addIncomingTypings, addIncomingTypings, addIncomingTypings, addLowerBoundedWildcards, addLowerBoundedWildcards, addLowerBoundedWildcards, addLowerBoundedWildcards, addMethods, addMethods, addMethods, addMethods, addUpperBoundedWildcards, addUpperBoundedWildcards, addUpperBoundedWildcards, addUpperBoundedWildcards, getFanIn, getFanOut, getIncomingReferences, getIncomingTypings, getIsDead, getIsInnerClass, getIsRoot, getIsStub, getLowerBoundedWildcards, getMethods, getName, getNumberOfAbstractMethods, getNumberOfContainedEntities, getNumberOfDeadChildren, getNumberOfExternalClients, getNumberOfExternalProviders, getNumberOfInternalClients, getNumberOfInternalProviders, getNumberOfLinesOfCode, getNumberOfLinesOfCodeWithMoreThanOneCharacter, getNumberOfMethods, getSourceAnchor, getSourceText, getTightClassCohesion, getTypeContainer, getUpperBoundedWildcards, getWeightedMethodCount, hasIncomingReferences, hasIncomingTypings, hasLowerBoundedWildcards, hasMethods, hasUpperBoundedWildcards, numberOfIncomingReferences, numberOfIncomingTypings, numberOfLowerBoundedWildcards, numberOfMethods, numberOfUpperBoundedWildcards, setIncomingReferences, setIncomingTypings, setIsStub, setLowerBoundedWildcards, setMethods, setName, setNumberOfLinesOfCode, setSourceAnchor, setTypeContainer, setUpperBoundedWildcardsMethods inherited from class ContainerEntity
addDefinedAnnotationTypes, addDefinedAnnotationTypes, addDefinedAnnotationTypes, addDefinedAnnotationTypes, addTypes, addTypes, addTypes, addTypes, getDefinedAnnotationTypes, getNumberOfClasses, getTypes, hasDefinedAnnotationTypes, hasTypes, numberOfDefinedAnnotationTypes, numberOfTypes, setDefinedAnnotationTypes, setTypesMethods inherited from class NamedEntity
addAnnotationInstances, addAnnotationInstances, addAnnotationInstances, addAnnotationInstances, getAnnotationInstances, getNumberOfAnnotationInstances, hasAnnotationInstances, numberOfAnnotationInstances, setAnnotationInstancesMethods inherited from class SourcedEntity
getNumberOfJavaNullChecks
-
Constructor Details
-
AnnotationType
public AnnotationType()
-
-
Method Details
-
getAnnotationTypesContainer
- Specified by:
getAnnotationTypesContainerin interfaceTAnnotationType
-
setAnnotationTypesContainer
- Specified by:
setAnnotationTypesContainerin interfaceTAnnotationType
-
getAttributes
- Specified by:
getAttributesin interfaceTWithAttributes
-
setAttributes
- Specified by:
setAttributesin interfaceTWithAttributes
-
addAttributes
- Specified by:
addAttributesin interfaceTWithAttributes
-
addAttributes
- Specified by:
addAttributesin interfaceTWithAttributes
-
addAttributes
- Specified by:
addAttributesin interfaceTWithAttributes
-
addAttributes
- Specified by:
addAttributesin interfaceTWithAttributes
-
numberOfAttributes
public int numberOfAttributes()- Specified by:
numberOfAttributesin interfaceTWithAttributes
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributesin interfaceTWithAttributes
-
getComments
- Specified by:
getCommentsin interfaceTWithComments
-
setComments
- Specified by:
setCommentsin interfaceTWithComments
-
addComments
- Specified by:
addCommentsin interfaceTWithComments
-
addComments
- Specified by:
addCommentsin interfaceTWithComments
-
addComments
- Specified by:
addCommentsin interfaceTWithComments
-
addComments
- Specified by:
addCommentsin interfaceTWithComments
-
numberOfComments
public int numberOfComments()- Specified by:
numberOfCommentsin interfaceTWithComments
-
hasComments
public boolean hasComments()- Specified by:
hasCommentsin interfaceTWithComments
-
getHasComments
- Specified by:
getHasCommentsin interfaceTWithComments
-
getHierarchyNestingLevel
- Specified by:
getHierarchyNestingLevelin interfaceTWithInheritances
-
getImplementations
- Specified by:
getImplementationsin interfaceTImplementable
-
setImplementations
- Specified by:
setImplementationsin interfaceTImplementable
-
addImplementations
- Specified by:
addImplementationsin interfaceTImplementable
-
addImplementations
- Specified by:
addImplementationsin interfaceTImplementable
-
addImplementations
- Specified by:
addImplementationsin interfaceTImplementable
-
addImplementations
- Specified by:
addImplementationsin interfaceTImplementable
-
numberOfImplementations
public int numberOfImplementations()- Specified by:
numberOfImplementationsin interfaceTImplementable
-
hasImplementations
public boolean hasImplementations()- Specified by:
hasImplementationsin interfaceTImplementable
-
getInstances
- Specified by:
getInstancesin interfaceTAnnotationType
-
setInstances
- Specified by:
setInstancesin interfaceTAnnotationType
-
addInstances
- Specified by:
addInstancesin interfaceTAnnotationType
-
addInstances
- Specified by:
addInstancesin interfaceTAnnotationType
-
addInstances
- Specified by:
addInstancesin interfaceTAnnotationType
-
addInstances
- Specified by:
addInstancesin interfaceTAnnotationType
-
numberOfInstances
public int numberOfInstances()- Specified by:
numberOfInstancesin interfaceTAnnotationType
-
hasInstances
public boolean hasInstances()- Specified by:
hasInstancesin interfaceTAnnotationType
-
getIsPackageVisibility
- Specified by:
getIsPackageVisibilityin interfaceTHasVisibility
-
getIsPrivate
- Specified by:
getIsPrivatein interfaceTHasVisibility
-
getIsProtected
- Specified by:
getIsProtectedin interfaceTHasVisibility
-
getIsPublic
- Specified by:
getIsPublicin interfaceTHasVisibility
-
getNumberOfAttributes
- Specified by:
getNumberOfAttributesin interfaceTWithAttributes
-
getNumberOfComments
- Specified by:
getNumberOfCommentsin interfaceTWithComments
-
getNumberOfDirectSubclasses
- Specified by:
getNumberOfDirectSubclassesin interfaceTWithInheritances
-
getNumberOfSubclasses
- Specified by:
getNumberOfSubclassesin interfaceTWithInheritances
-
getOutgoingConcretizations
- Specified by:
getOutgoingConcretizationsin interfaceTTypeArgument
-
setOutgoingConcretizations
public void setOutgoingConcretizations(Collection<? extends TConcretization> outgoingConcretizations) - Specified by:
setOutgoingConcretizationsin interfaceTTypeArgument
-
addOutgoingConcretizations
- Specified by:
addOutgoingConcretizationsin interfaceTTypeArgument
-
addOutgoingConcretizations
- Specified by:
addOutgoingConcretizationsin interfaceTTypeArgument
-
addOutgoingConcretizations
- Specified by:
addOutgoingConcretizationsin interfaceTTypeArgument
-
addOutgoingConcretizations
- Specified by:
addOutgoingConcretizationsin interfaceTTypeArgument
-
numberOfOutgoingConcretizations
public int numberOfOutgoingConcretizations()- Specified by:
numberOfOutgoingConcretizationsin interfaceTTypeArgument
-
hasOutgoingConcretizations
public boolean hasOutgoingConcretizations()- Specified by:
hasOutgoingConcretizationsin interfaceTTypeArgument
-
getParentPackage
- Specified by:
getParentPackagein interfaceTPackageable
-
setParentPackage
- Specified by:
setParentPackagein interfaceTPackageable
-
getSubInheritances
- Specified by:
getSubInheritancesin interfaceTWithInheritances
-
setSubInheritances
- Specified by:
setSubInheritancesin interfaceTWithInheritances
-
addSubInheritances
- Specified by:
addSubInheritancesin interfaceTWithInheritances
-
addSubInheritances
- Specified by:
addSubInheritancesin interfaceTWithInheritances
-
addSubInheritances
- Specified by:
addSubInheritancesin interfaceTWithInheritances
-
addSubInheritances
- Specified by:
addSubInheritancesin interfaceTWithInheritances
-
numberOfSubInheritances
public int numberOfSubInheritances()- Specified by:
numberOfSubInheritancesin interfaceTWithInheritances
-
hasSubInheritances
public boolean hasSubInheritances()- Specified by:
hasSubInheritancesin interfaceTWithInheritances
-
getSubclassHierarchyDepth
- Specified by:
getSubclassHierarchyDepthin interfaceTWithInheritances
-
getSuperInheritances
- Specified by:
getSuperInheritancesin interfaceTWithInheritances
-
setSuperInheritances
- Specified by:
setSuperInheritancesin interfaceTWithInheritances
-
addSuperInheritances
- Specified by:
addSuperInheritancesin interfaceTWithInheritances
-
addSuperInheritances
- Specified by:
addSuperInheritancesin interfaceTWithInheritances
-
addSuperInheritances
- Specified by:
addSuperInheritancesin interfaceTWithInheritances
-
addSuperInheritances
- Specified by:
addSuperInheritancesin interfaceTWithInheritances
-
numberOfSuperInheritances
public int numberOfSuperInheritances()- Specified by:
numberOfSuperInheritancesin interfaceTWithInheritances
-
hasSuperInheritances
public boolean hasSuperInheritances()- Specified by:
hasSuperInheritancesin interfaceTWithInheritances
-
getVisibility
- Specified by:
getVisibilityin interfaceTHasVisibility
-
setVisibility
- Specified by:
setVisibilityin interfaceTHasVisibility
-