Package org.aspectj.tools.ajdoc
Klasse StructureUtil
java.lang.Object
org.aspectj.tools.ajdoc.StructureUtil
- Autor:
- Mik Kersten
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic String
genSignature
(IProgramElement node) static String
getPackageDeclarationFromFile
(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 boolean
isAnonymous
(IProgramElement node) static String
translateAjPathName
(String path)
-
Konstruktordetails
-
StructureUtil
public StructureUtil()
-
-
Methodendetails
-
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- Gibt zurück:
- 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.- Gibt zurück:
- null if a relationship of that kind is not found
-
getDeclareTargets
-
getPackageDeclarationFromFile
-
genSignature
-
isAnonymous
-
translateAjPathName
- Gibt zurück:
- same path, but ending in ".java" instead of ".aj"
-