public class StructureUtil
extends java.lang.Object
| Constructor and Description |
|---|
StructureUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
genSignature(IProgramElement node) |
static java.util.List |
getDeclareTargets(IProgramElement node) |
static java.lang.String |
getPackageDeclarationFromFile(AsmManager model,
java.io.File file) |
static java.util.List |
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
|
static java.util.List |
getTargets(IProgramElement node,
IRelationship.Kind kind,
java.lang.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 java.lang.String |
translateAjPathName(java.lang.String path) |
public static java.util.List getTargets(IProgramElement node, IRelationship.Kind kind)
public static java.util.List getTargets(IProgramElement node, IRelationship.Kind kind, java.lang.String relName)
public static java.util.List getDeclareTargets(IProgramElement node)
public static java.lang.String getPackageDeclarationFromFile(AsmManager model, java.io.File file)
public static java.lang.String genSignature(IProgramElement node)
public static boolean isAnonymous(IProgramElement node)
public static java.lang.String translateAjPathName(java.lang.String path)