damp.ekeko.jdt.structure documentation

Relations reifiying the structural relations of the JDT Model.

classfile

(classfile ?c)
Relation of IClassFile instances ?c.

classfile-type

(classfile-type ?c ?t)
Relation between an IClassFile ?c and the IType ?t it declares.

compilationunit

(compilationunit ?c)
Relation of ICompilationUnit instances ?c

compilationunit-type

(compilationunit-type ?c ?t)
Relation between an ICompilationUnit ?c and one of the top-level IType instances ?t it declares.

element

(element ?key ?element)
Relation of IJavaElement instances ?element and the keyword ?key representing their kind.

field

(field ?f)
Relation of IField instances.

See also: 
field-from-source/1 and field-from-binary/1.

field|binary

(field|binary ?f)
Relation of IField instances declared in a binary type.

field|source

(field|source ?f)
Relation of IField instances declared in a source type.

method

(method ?m)
Relation of IMethod instances.

See also: 
method-from-source/1 and method-from-binary/1.

method-typeparameters

(method-typeparameters ?m ?ps)
Relation between an IMethod ?m and its formal type parameters ITypeParameter[] ?ps.

method|binary

(method|binary ?m)
Relation of IMethod instances declared in a binary type.

method|source

(method|source ?m)
Relation of IMethod instances declared in a source type.

Note that (ast :MethodDeclaration ?m) is much more efficient
and corresponds to the relation of method ASTs.

packagefragment

(packagefragment ?f)
Relation of IPackageFragment instances.

packagefragment-classfile

(packagefragment-classfile ?f ?c)
Relation between an IPackageFragment ?f and one of its IClassFile instances ?c.

packagefragment-compilationunit

(packagefragment-compilationunit ?f ?c)
Relation between an IPackageFragment ?f and one of its ICompilationUnit instances ?c.

packagefragment-name|string

(packagefragment-name|string ?f ?n)
Relation between an IPackageFragment ?f and its name String ?n.

packagefragment|root

(packagefragment|root ?r)
Relation of IPackageFragmentRoot instances ?r.

packagefragment|root-packagefragment

(packagefragment|root-packagefragment ?r ?f)
Relation between a IPackageFragmentRoot ?r and one of its IPckageFragment instances ?p.

packagefragment|root|binary

(packagefragment|root|binary ?r)
Relation of IPackageFragmentRoot instances ?r that originate from byte code.

packagefragment|root|source

(packagefragment|root|source ?r)
Relation of IPackageFragmentRoot instances ?r that originate from source code.

type

(type ?t)
Relation of IType instances ?t.

type-field

(type-field ?t ?f)
Relation between IType ?t and one if its declared IField instances ?f.

type-initializer

(type-initializer ?t ?i)
Relation between an IType ?t and one of its IInitializer initializers ?i.

Note that their are none for binary types.

type-membertype

(type-membertype ?t ?mt)
Relation of IType ?t and one of its immediate member types ?mt.

type-method

(type-method ?t ?m)
Relation between IType ?t and one if its declared IMethod instances ?m.

type-name|qualified|string

(type-name|qualified|string ?t ?n)
Relation of IType ?t and its fully qualified name String ?n.

type-name|simple|string

(type-name|simple|string ?t ?n)
Relation of IType ?t and its simple name String ?n.

type-typeparameters

(type-typeparameters ?t ?ps)
Relation between an IType ?t and its formal type parameters ITypeParameter[] ?ps.

type-type|sub+

(type-type|sub+ ?itype ?sub-itype)
Successively unifies ?sub-itype with every 
subtype of the given IType ?itype. 

Note that the JDT does not consider java.lang.Object
to be a supertype of any interface type.

type-type|super+

(type-type|super+ ?itype ?super-itype)
Successively unifies ?super-itype with every 
supertype of the given IType ?itype, in bottom-up order. 

Note that the JDT does not consider java.lang.Object
to be a supertype of any interface type.

type|annotation

(type|annotation ?t)
Relation of IType instances ?t that represent an annotation type.

type|anonymous

(type|anonymous ?t)
Relation of IType instances ?t that represent an anonymous type.

type|binary

(type|binary ?t)
Relation of IType instances ?t that originate from a binary file.

type|class

(type|class ?t)
Relation of IType instances ?t that represent a class.

type|enum

(type|enum ?t)
Relation of IType instances ?t that represent an enumeration class.

type|interface

(type|interface ?t)
Relation of IType instances ?t that represent an interface.

type|local

(type|local ?t)
Relation of IType instances ?t that represent a local type.

type|member

(type|member ?t)
Relation of IType instances ?t that represent a member type.

type|resolved

(type|resolved ?t)
Relation of IType instances ?t that represent a resolved type.

type|source

(type|source ?t)
Relation of IType instances ?t that originate from a source file.