Class JavaClassFileAccess
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.api.model.ElementAccess<com.hello2morrow.sonargraph.languageprovider.java.model.path.JavaClassFile>
-
- com.hello2morrow.sonargraph.languageprovider.java.api.model.JavaClassFileAccess
-
- All Implemented Interfaces:
IJavaClassFileAccess
,IElementAccess
,INamedElementAccess
public final class JavaClassFileAccess extends ElementAccess<com.hello2morrow.sonargraph.languageprovider.java.model.path.JavaClassFile> implements IJavaClassFileAccess
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
ElementAccess.IAccessFactory
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.java.IJavaClassFileAccess
IJavaClassFileAccess.IVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Constructor Summary
Constructors Constructor Description JavaClassFileAccess(com.hello2morrow.sonargraph.languageprovider.java.model.path.JavaClassFile element)
Internal use only
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(INamedElementAccess.INamedElementAccessVisitor visitor)
InternalIDirectoryAccess
getBaseDirectory()
de.schlichtherle.truezip.file.TFile
getFile()
java.lang.String
getFullyQualifiedName()
java.lang.String
getPath()
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
equals, getChildren, getElement, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getMetricLevel, getName, getNameWithSignature, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, setFactory, toString
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
getChildren, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getIssueCount, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
-
-
-
-
Method Detail
-
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interfaceIJavaClassFileAccess
-
getFile
public de.schlichtherle.truezip.file.TFile getFile()
- Specified by:
getFile
in interfaceIJavaClassFileAccess
-
getBaseDirectory
public IDirectoryAccess getBaseDirectory()
- Specified by:
getBaseDirectory
in interfaceIJavaClassFileAccess
- Returns:
- the base directory from which this class file was read
-
accept
public void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internal- Specified by:
accept
in interfaceINamedElementAccess
- Overrides:
accept
in classElementAccess<com.hello2morrow.sonargraph.languageprovider.java.model.path.JavaClassFile>
- Parameters:
visitor
- The visitor implementation
-
getFullyQualifiedName
public java.lang.String getFullyQualifiedName()
- Specified by:
getFullyQualifiedName
in interfaceIJavaClassFileAccess
- Specified by:
getFullyQualifiedName
in interfaceINamedElementAccess
- Overrides:
getFullyQualifiedName
in classElementAccess<com.hello2morrow.sonargraph.languageprovider.java.model.path.JavaClassFile>
- Returns:
- the fully qualified name as shown in the Sonargraph properties view
-
-