Class Type
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
- All Implemented Interfaces:
TBound, TWithInterfaces, TCanBeStub, TNamedEntity, TReferenceable, TSourceEntity, TType, TWithAnnotationInstances, TWithAnnotationTypes, TWithClasses, TWithMethods, TWithTypes, TEntityMetaLevelDependency
- Direct Known Subclasses:
AnnotationType, Class, Enum, Interface, PrimitiveType, TypeParameter, Wildcard
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIncomingReferences(Iterable<? extends TReference> many) voidvoidaddIncomingReferences(TReference[] many) voidaddIncomingReferences(TReference one, TReference... many) voidaddIncomingTypings(Iterable<? extends TEntityTyping> many) voidvoidaddIncomingTypings(TEntityTyping[] many) voidaddIncomingTypings(TEntityTyping one, TEntityTyping... many) voidaddLowerBoundedWildcards(Iterable<? extends TBounded> many) voidvoidaddLowerBoundedWildcards(TBounded[] many) voidaddLowerBoundedWildcards(TBounded one, TBounded... many) voidaddMethods(Iterable<? extends TMethod> many) voidaddMethods(TMethod one) voidaddMethods(TMethod[] many) voidaddMethods(TMethod one, TMethod... many) voidaddUpperBoundedWildcards(Iterable<? extends TBounded> many) voidvoidaddUpperBoundedWildcards(TBounded[] many) voidaddUpperBoundedWildcards(TBounded one, TBounded... many) getFanIn()getName()booleanbooleanbooleanbooleanbooleanintintintintintvoidsetIncomingReferences(Collection<? extends TReference> incomingReferences) voidsetIncomingTypings(Collection<? extends TEntityTyping> incomingTypings) voidvoidsetLowerBoundedWildcards(Collection<? extends TBounded> lowerBoundedWildcards) voidsetMethods(Collection<? extends TMethod> methods) voidvoidsetNumberOfLinesOfCode(Number numberOfLinesOfCode) voidsetSourceAnchor(TSourceAnchor sourceAnchor) voidsetTypeContainer(TWithTypes typeContainer) voidsetUpperBoundedWildcards(Collection<? extends TBounded> upperBoundedWildcards) Methods 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
-
Type
public Type()
-
-
Method Details
-
getIsInnerClass
-
getFanIn
- Specified by:
getFanInin interfaceTEntityMetaLevelDependency- Overrides:
getFanInin classNamedEntity
-
getFanOut
- Specified by:
getFanOutin interfaceTEntityMetaLevelDependency- Overrides:
getFanOutin classNamedEntity
-
getIncomingReferences
- Specified by:
getIncomingReferencesin interfaceTReferenceable
-
setIncomingReferences
- Specified by:
setIncomingReferencesin interfaceTReferenceable
-
addIncomingReferences
- Specified by:
addIncomingReferencesin interfaceTReferenceable
-
addIncomingReferences
- Specified by:
addIncomingReferencesin interfaceTReferenceable
-
addIncomingReferences
- Specified by:
addIncomingReferencesin interfaceTReferenceable
-
addIncomingReferences
- Specified by:
addIncomingReferencesin interfaceTReferenceable
-
numberOfIncomingReferences
public int numberOfIncomingReferences()- Specified by:
numberOfIncomingReferencesin interfaceTReferenceable
-
hasIncomingReferences
public boolean hasIncomingReferences()- Specified by:
hasIncomingReferencesin interfaceTReferenceable
-
getIncomingTypings
- Specified by:
getIncomingTypingsin interfaceTType
-
setIncomingTypings
- Specified by:
setIncomingTypingsin interfaceTType
-
addIncomingTypings
- Specified by:
addIncomingTypingsin interfaceTType
-
addIncomingTypings
- Specified by:
addIncomingTypingsin interfaceTType
-
addIncomingTypings
- Specified by:
addIncomingTypingsin interfaceTType
-
addIncomingTypings
- Specified by:
addIncomingTypingsin interfaceTType
-
numberOfIncomingTypings
public int numberOfIncomingTypings()- Specified by:
numberOfIncomingTypingsin interfaceTType
-
hasIncomingTypings
public boolean hasIncomingTypings()- Specified by:
hasIncomingTypingsin interfaceTType
-
getIsDead
- Specified by:
getIsDeadin interfaceTEntityMetaLevelDependency- Overrides:
getIsDeadin classNamedEntity
-
getIsRoot
- Specified by:
getIsRootin interfaceTEntityMetaLevelDependency- Overrides:
getIsRootin classNamedEntity
-
getIsStub
- Specified by:
getIsStubin interfaceTCanBeStub
-
setIsStub
- Specified by:
setIsStubin interfaceTCanBeStub
-
getLowerBoundedWildcards
- Specified by:
getLowerBoundedWildcardsin interfaceTBound
-
setLowerBoundedWildcards
- Specified by:
setLowerBoundedWildcardsin interfaceTBound
-
addLowerBoundedWildcards
- Specified by:
addLowerBoundedWildcardsin interfaceTBound
-
addLowerBoundedWildcards
- Specified by:
addLowerBoundedWildcardsin interfaceTBound
-
addLowerBoundedWildcards
- Specified by:
addLowerBoundedWildcardsin interfaceTBound
-
addLowerBoundedWildcards
- Specified by:
addLowerBoundedWildcardsin interfaceTBound
-
numberOfLowerBoundedWildcards
public int numberOfLowerBoundedWildcards()- Specified by:
numberOfLowerBoundedWildcardsin interfaceTBound
-
hasLowerBoundedWildcards
public boolean hasLowerBoundedWildcards()- Specified by:
hasLowerBoundedWildcardsin interfaceTBound
-
getMethods
- Specified by:
getMethodsin interfaceTWithMethods
-
setMethods
- Specified by:
setMethodsin interfaceTWithMethods
-
addMethods
- Specified by:
addMethodsin interfaceTWithMethods
-
addMethods
- Specified by:
addMethodsin interfaceTWithMethods
-
addMethods
- Specified by:
addMethodsin interfaceTWithMethods
-
addMethods
- Specified by:
addMethodsin interfaceTWithMethods
-
numberOfMethods
public int numberOfMethods()- Specified by:
numberOfMethodsin interfaceTWithMethods
-
hasMethods
public boolean hasMethods()- Specified by:
hasMethodsin interfaceTWithMethods
-
getName
- Specified by:
getNamein interfaceTNamedEntity- Overrides:
getNamein classNamedEntity
-
setName
- Specified by:
setNamein interfaceTNamedEntity- Overrides:
setNamein classNamedEntity
-
getNumberOfAbstractMethods
- Specified by:
getNumberOfAbstractMethodsin interfaceTWithMethods
-
getNumberOfContainedEntities
- Specified by:
getNumberOfContainedEntitiesin interfaceTEntityMetaLevelDependency- Overrides:
getNumberOfContainedEntitiesin classNamedEntity
-
getNumberOfDeadChildren
- Specified by:
getNumberOfDeadChildrenin interfaceTEntityMetaLevelDependency- Overrides:
getNumberOfDeadChildrenin classNamedEntity
-
getNumberOfExternalClients
- Specified by:
getNumberOfExternalClientsin interfaceTEntityMetaLevelDependency- Overrides:
getNumberOfExternalClientsin classNamedEntity
-
getNumberOfExternalProviders
- Specified by:
getNumberOfExternalProvidersin interfaceTEntityMetaLevelDependency- Overrides:
getNumberOfExternalProvidersin classNamedEntity
-
getNumberOfInternalClients
- Specified by:
getNumberOfInternalClientsin interfaceTEntityMetaLevelDependency- Overrides:
getNumberOfInternalClientsin classNamedEntity
-
getNumberOfInternalProviders
- Specified by:
getNumberOfInternalProvidersin interfaceTEntityMetaLevelDependency- Overrides:
getNumberOfInternalProvidersin classNamedEntity
-
getNumberOfLinesOfCode
- Specified by:
getNumberOfLinesOfCodein interfaceTSourceEntity- Overrides:
getNumberOfLinesOfCodein classSourcedEntity
-
setNumberOfLinesOfCode
- Specified by:
setNumberOfLinesOfCodein interfaceTSourceEntity- Overrides:
setNumberOfLinesOfCodein classSourcedEntity
-
getNumberOfLinesOfCodeWithMoreThanOneCharacter
- Specified by:
getNumberOfLinesOfCodeWithMoreThanOneCharacterin interfaceTSourceEntity- Overrides:
getNumberOfLinesOfCodeWithMoreThanOneCharacterin classSourcedEntity
-
getNumberOfMethods
- Specified by:
getNumberOfMethodsin interfaceTWithMethods
-
getSourceAnchor
- Specified by:
getSourceAnchorin interfaceTSourceEntity- Overrides:
getSourceAnchorin classSourcedEntity
-
setSourceAnchor
- Specified by:
setSourceAnchorin interfaceTSourceEntity- Overrides:
setSourceAnchorin classSourcedEntity
-
getSourceText
- Specified by:
getSourceTextin interfaceTSourceEntity- Overrides:
getSourceTextin classSourcedEntity
-
getTightClassCohesion
- Specified by:
getTightClassCohesionin interfaceTWithMethods
-
getTypeContainer
- Specified by:
getTypeContainerin interfaceTType
-
setTypeContainer
- Specified by:
setTypeContainerin interfaceTType
-
getUpperBoundedWildcards
- Specified by:
getUpperBoundedWildcardsin interfaceTBound
-
setUpperBoundedWildcards
- Specified by:
setUpperBoundedWildcardsin interfaceTBound
-
addUpperBoundedWildcards
- Specified by:
addUpperBoundedWildcardsin interfaceTBound
-
addUpperBoundedWildcards
- Specified by:
addUpperBoundedWildcardsin interfaceTBound
-
addUpperBoundedWildcards
- Specified by:
addUpperBoundedWildcardsin interfaceTBound
-
addUpperBoundedWildcards
- Specified by:
addUpperBoundedWildcardsin interfaceTBound
-
numberOfUpperBoundedWildcards
public int numberOfUpperBoundedWildcards()- Specified by:
numberOfUpperBoundedWildcardsin interfaceTBound
-
hasUpperBoundedWildcards
public boolean hasUpperBoundedWildcards()- Specified by:
hasUpperBoundedWildcardsin interfaceTBound
-
getWeightedMethodCount
- Specified by:
getWeightedMethodCountin interfaceTWithMethods
-