Class Util
java.lang.Object
fr.inria.verveine.extractor.java.utils.Util
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcapitalizeString(String str) static <T extends TNamedEntity, X extends TNamedEntity>
XgetOwner(T entity) static StringjdtTypeName(org.eclipse.jdt.core.dom.Type jdtType) Helper to compute the name of a JDT Typestatic <T extends TCanBeStub & TNamedEntity>
voidrecursivelySetIsStub(T fmx, boolean isStub) setsfmxisStub property toisStuband goes up recusively to all parent entitiesstatic StringstringForAnonymousName(String anonymousSuperTypeName, EntityStack context) helper to "normalize" an anonymous type namestatic voidtraceUnknownElementError(ch.akuhn.fame.internal.RepositoryVisitor.UnknownElementError err) static StringtypeNameFromSourceFile(String sourceFileName) The name of an implicitly declared class is not written in the source.
-
Field Details
-
metamodel
public static ch.akuhn.fame.MetaRepository metamodel
-
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
stringForAnonymousName
helper to "normalize" an anonymous type name -
jdtTypeName
Helper to compute the name of a JDT Type -
recursivelySetIsStub
public static <T extends TCanBeStub & TNamedEntity> void recursivelySetIsStub(T fmx, boolean isStub) setsfmxisStub property toisStuband goes up recusively to all parent entities -
getOwner
-
typeNameFromSourceFile
-
capitalizeString
-
traceUnknownElementError
public static void traceUnknownElementError(ch.akuhn.fame.internal.RepositoryVisitor.UnknownElementError err)
-