public interface ProgrammingLanguageContext extends Comparable<ProgrammingLanguageContext>, Serializable, net.sourceforge.plantumldependency.common.clone.DeepCloneable<ProgrammingLanguageContext>
| Modifier and Type | Method and Description |
|---|---|
void |
addParsedAndSeenDependencies(GenericDependency dependency)
Adds the dependency in the parsed and seen dependencies in the context.
|
void |
addPotentialJavaLangSeenDependencies(GenericDependency dependency)
Adds the dependency in the parsed and seen dependencies in the context and marks it as a
potential "java.lang" dependency.
|
void |
addSeenDependencies(GenericDependency dependency)
Adds the dependency in the seen dependencies in the context.
|
Collection<GenericDependency> |
getParsedAndSeenDependencies()
Gets all dependencies which have been seen (as import for instance) and parsed within the
context.
|
Collection<GenericDependency> |
getParsedDependencies()
Gets all dependencies which have been parsed within the context.
|
GenericDependency |
getParsedDependency(String fullName)
Gets the dependency in the parsed context following its name.
|
GenericDependency |
getParsedOrSeenDependency(String fullName)
Gets the dependency in the parsed and seen context following its name.
|
PlantUMLClassesDiagram |
getPlantUMLClassesDiagram()
Gets the
PlantUMLClassesDiagram instance representing the context, following display
options (type, name and package name). |
Collection<GenericDependency> |
getPotentialJavaLangSeenDependencies()
Gets all dependencies which have been marked as potential "java.lang" dependencies within the
context.
|
boolean |
hasToDisplay(DisplayType displayType)
Tells if the following
DisplayType is managed or not by this context. |
void |
removeAllPotentialJavaLangSeenDependencyAndChangePackageToJavaLang()
Removes all the marked as potential "java.lang" dependencies from the context and change
their package to "java.lang".
|
void |
removePotentialJavaLangSeenDependency(String fullName)
Remove the marked as potential "java.lang" dependency from the context.
|
compareTovoid addParsedAndSeenDependencies(GenericDependency dependency)
dependency - the GenericDependency instance to add, mustn't be null.void addPotentialJavaLangSeenDependencies(GenericDependency dependency)
dependency - the GenericDependency instance to add, mustn't be null.getPotentialJavaLangSeenDependencies(),
removePotentialJavaLangSeenDependency(String),
removeAllPotentialJavaLangSeenDependencyAndChangePackageToJavaLang()void addSeenDependencies(GenericDependency dependency)
dependency - the GenericDependency instance to add, mustn't be null.Collection<GenericDependency> getParsedAndSeenDependencies()
Collection of all GenericDependency which have been seen (as
import for instance) and parsed and associated with this context.Collection<GenericDependency> getParsedDependencies()
Collection of all GenericDependency which have been parsed and
associated with this context.GenericDependency getParsedDependency(String fullName)
fullName - the dependency full name to get, mustn't be null.GenericDependency instance following its full name if found in the parsed
context, null otherwise.GenericDependency getParsedOrSeenDependency(String fullName)
fullName - the dependency full name to get, mustn't be null.GenericDependency instance following its full name if found in the parsed
and seen context, null otherwise.PlantUMLClassesDiagram getPlantUMLClassesDiagram()
PlantUMLClassesDiagram instance representing the context, following display
options (type, name and package name).Collection<GenericDependency> getPotentialJavaLangSeenDependencies()
Collection of all GenericDependency which have been marked as
potential "java.lang" dependencies within the context.#addPotentialJavaLangSeenDependencies(),
removePotentialJavaLangSeenDependency(String),
removeAllPotentialJavaLangSeenDependencyAndChangePackageToJavaLang()boolean hasToDisplay(DisplayType displayType)
DisplayType is managed or not by this context.displayType - the DisplayType, mustn't be null.true if the DisplayType is managed by the context,
false otherwise.void removeAllPotentialJavaLangSeenDependencyAndChangePackageToJavaLang()
void removePotentialJavaLangSeenDependency(String fullName)
fullName - the dependency full name, usually the package and the dependency name.
For instance, in java it can be :
java.lang.String
java.io.Serializable
sun.font.Decoration
Copyright © 2014 Sourceforge. All rights reserved.