Class StructureUtil
java.lang.Object
org.aspectj.tools.ajdoc.StructureUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenSignature(IProgramElement node) static StringgetPackageDeclarationFromFile(AsmManager model, File file) getTargets(IProgramElement node, IRelationship.Kind kind) Calculate the targets for a given IProgramElement (and it's immediate children if its not a type or if the child is CODE) and relationship kindgetTargets(IProgramElement node, IRelationship.Kind kind, String relName) Calculate the targets for a given IProgramElement (and it's immediate children if its not a type or if the child is CODE) and relationship kind with the specified relationship name.static booleanisAnonymous(IProgramElement node) static StringtranslateAjPathName(String path)
-
Constructor Details
-
StructureUtil
public StructureUtil()
-
-
Method Details
-
getTargets
Calculate the targets for a given IProgramElement (and it's immediate children if its not a type or if the child is CODE) and relationship kind- Returns:
- null if a relationship of that kind is not found
-
getTargets
public static List<String> getTargets(IProgramElement node, IRelationship.Kind kind, String relName) Calculate the targets for a given IProgramElement (and it's immediate children if its not a type or if the child is CODE) and relationship kind with the specified relationship name.- Returns:
- null if a relationship of that kind is not found
-
getDeclareTargets
-
getPackageDeclarationFromFile
-
genSignature
-
isAnonymous
-
translateAjPathName
-