damp.ekeko.jdt.javaprojectmodel documentation

Central point of access to JavaProjectModel instances managed by the EkekoModel for reification relations.

binding-to-declaration

(binding-to-declaration b)
Returns the ASTNode that declares the given IBinding.

declaration-to-ielement

(declaration-to-ielement t)
Returns the IJavaElement corresponding to the given ASTNode.

ekeko-javaprojects

(ekeko-javaprojects)
Returns all IJavaProject instances that have the Ekeko nature enabled.

icu-to-ast

(icu-to-ast icu)
Returns the CompilationUnit ASTNode (i.e., the complete abstract syntax tree)
for the given ICompilationUnit instance (i.e., a IJavaElement),
provided ICompilationUnit resides in JavaProject managed by the EkekoModel.

imethod-to-declaration

(imethod-to-declaration it)
Returns the ASTNode that declares the given IMethod.

itype-to-declaration

(itype-to-declaration it)
Returns the ASTNode that declares the given IType.

java-project-models

(java-project-models)
Returns all JavaProjectModel instances that are to be queried.
Subset of (queried-project-models), which is itself 
a subset of (all-project-models).

javaproject-name

(javaproject-name project)
Returns the name of the given IJavaProject.

javaproject-packagefragmentroots

(javaproject-packagefragmentroots project)
Returns the package fragment roots for the given IJavaProject.

javaprojectmodel-for-astnode

(javaprojectmodel-for-astnode node)
Returns the JavaProjectModel to which the given ASTNode belongs.

packagefragment-name

(packagefragment-name p)
Returns the name of the give package fragment.

packagefragmentroot-binary?

(packagefragmentroot-binary? pr)
Succeeds for package fragment roots that originate from a binary.

packagefragmentroot-fragments

(packagefragmentroot-fragments pr)
Returns the package fragments in the given package fragment root.

packagefragmentroot-has-subpackages?

(packagefragmentroot-has-subpackages? p)
Succeeds for package fragments that have subpackages.

packagefragmentroot-source?

(packagefragmentroot-source? pr)
Succeeds for package fragment roots that originate from source.

project-as-javaproject

(project-as-javaproject project)
Returns the IJavaProject for given IProject.