Klasse StructureUtil

java.lang.Object
org.aspectj.tools.ajdoc.StructureUtil

public class StructureUtil extends Object
Autor:
Mik Kersten
  • Konstruktordetails

    • StructureUtil

      public StructureUtil()
  • Methodendetails

    • getTargets

      public static List<String> 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 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

      public static List<String> getDeclareTargets(IProgramElement node)
    • getPackageDeclarationFromFile

      public static String getPackageDeclarationFromFile(AsmManager model, File file)
    • genSignature

      public static String genSignature(IProgramElement node)
    • isAnonymous

      public static boolean isAnonymous(IProgramElement node)
    • translateAjPathName

      public static String translateAjPathName(String path)
      Gibt zurück:
      same path, but ending in ".java" instead of ".aj"