Package se.lnu.siq.s4rdm3x.dmodel
Class dmClass
java.lang.Object
se.lnu.siq.s4rdm3x.dmodel.dmClass
public class dmClass
extends java.lang.Object
Created by tohto on 2017-04-24.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
dmClass.Method
-
Field Summary
Fields Modifier and Type Field Description double
get
-
Constructor Summary
Constructors Constructor Description dmClass(java.lang.String a_name)
-
Method Summary
Modifier and Type Method Description void
addDependency(java.lang.String a_className, dmDependency.Type a_type)
void
addDependency(java.lang.String a_className, dmDependency.Type a_type, int a_line)
dmDependency
addDependency(dmClass a_target, dmDependency.Type a_type, int a_line)
void
addDependency(dmClass a_target, dmDependency.Type a_type, int a_line, dmClass.Method a_method)
(package private) dmClass.Method
addMethod(java.lang.String a_name, boolean a_isAbstract, boolean a_isSynthetic)
(package private) void
addText(java.lang.String a_text)
boolean
equals(java.lang.String a_className)
java.lang.String
getClassName()
int
getConcreteMethodCount()
java.lang.Iterable<dmDependency>
getDependencies()
int
getDependencyCount()
int
getFieldCount()
java.lang.String
getFileName()
java.util.Collection<dmDependency>
getIncomingDependencies()
java.util.List<dmClass>
getIndirectDependencies(java.lang.Iterable<dmClass> a_targets)
int
getLineCount()
int
getMethodCount()
java.lang.Iterable<dmClass.Method>
getMethods()
java.util.ArrayList<dmClass.Method>
getMethods(java.lang.String a_methodName)
java.lang.String
getName()
java.lang.Iterable<java.lang.String>
getTexts()
boolean
hasDirectDependency(java.lang.Iterable<dmClass> a_targets)
boolean
hasDirectDependency(java.lang.String a_name)
boolean
hasDirectDependency(dmClass a_target)
boolean
hasIndirectDependency(java.lang.Iterable<dmClass> a_targets)
(package private) void
incFieldCount()
(package private) void
incLineCount()
boolean
isAnonymous()
boolean
isInner()
-
Field Details
-
get
public double get
-
-
Constructor Details
-
dmClass
public dmClass(java.lang.String a_name)
-
-
Method Details
-
incFieldCount
void incFieldCount() -
getFieldCount
public int getFieldCount() -
incLineCount
void incLineCount() -
getLineCount
public int getLineCount() -
addText
void addText(java.lang.String a_text) -
getTexts
public java.lang.Iterable<java.lang.String> getTexts() -
addMethod
-
getMethodCount
public int getMethodCount() -
getConcreteMethodCount
public int getConcreteMethodCount() -
getMethods
-
getMethods
-
getIncomingDependencies
-
getFileName
public java.lang.String getFileName() -
isInner
public boolean isInner() -
getClassName
public java.lang.String getClassName() -
hasDirectDependency
public boolean hasDirectDependency(java.lang.String a_name) -
getIndirectDependencies
-
hasIndirectDependency
-
hasDirectDependency
-
hasDirectDependency
-
isAnonymous
public boolean isAnonymous() -
equals
public boolean equals(java.lang.String a_className) -
addDependency
-
addDependency
-
addDependency
-
addDependency
public void addDependency(dmClass a_target, dmDependency.Type a_type, int a_line, dmClass.Method a_method) -
getDependencies
-
getDependencyCount
public int getDependencyCount() -
getName
public java.lang.String getName()
-