public class SDModel
extends java.lang.Object
| Constructor and Description |
|---|
SDModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(refdiff.core.cst.CstNode method,
java.lang.String identifier,
java.lang.String typeName) |
void |
addReference(refdiff.core.cst.CstNode caller,
refdiff.core.cst.CstNode calleeNode) |
void |
addSubtype(refdiff.core.cst.CstNode supertype,
refdiff.core.cst.CstNode type) |
refdiff.core.cst.CstNode |
createInnerType(java.lang.String typeName,
refdiff.core.cst.HasChildrenNodes parent,
java.lang.String sourceFilePath,
java.lang.CharSequence fileContent,
org.eclipse.jdt.core.dom.AbstractTypeDeclaration ast,
java.lang.String nodeType) |
refdiff.core.cst.CstNode |
createMethod(java.lang.String methodSignature,
refdiff.core.cst.HasChildrenNodes parent,
java.lang.String sourceFilePath,
java.lang.CharSequence fileContent,
boolean constructor,
org.eclipse.jdt.core.dom.MethodDeclaration ast) |
refdiff.core.cst.CstNode |
createType(java.lang.String typeName,
java.lang.String packageName,
refdiff.core.cst.HasChildrenNodes parent,
java.lang.String sourceFilePath,
java.lang.CharSequence fileContent,
org.eclipse.jdt.core.dom.AbstractTypeDeclaration ast,
java.lang.String nodeType) |
java.util.Optional<refdiff.core.cst.CstNode> |
findByKey(java.lang.String referencedKey) |
refdiff.core.cst.CstRoot |
getRoot() |
void |
setReturnType(refdiff.core.cst.CstNode method,
java.lang.String normalizeTypeName) |
public java.util.Optional<refdiff.core.cst.CstNode> findByKey(java.lang.String referencedKey)
public void addReference(refdiff.core.cst.CstNode caller,
refdiff.core.cst.CstNode calleeNode)
public void addSubtype(refdiff.core.cst.CstNode supertype,
refdiff.core.cst.CstNode type)
public refdiff.core.cst.CstNode createInnerType(java.lang.String typeName,
refdiff.core.cst.HasChildrenNodes parent,
java.lang.String sourceFilePath,
java.lang.CharSequence fileContent,
org.eclipse.jdt.core.dom.AbstractTypeDeclaration ast,
java.lang.String nodeType)
public refdiff.core.cst.CstNode createType(java.lang.String typeName,
java.lang.String packageName,
refdiff.core.cst.HasChildrenNodes parent,
java.lang.String sourceFilePath,
java.lang.CharSequence fileContent,
org.eclipse.jdt.core.dom.AbstractTypeDeclaration ast,
java.lang.String nodeType)
public refdiff.core.cst.CstNode createMethod(java.lang.String methodSignature,
refdiff.core.cst.HasChildrenNodes parent,
java.lang.String sourceFilePath,
java.lang.CharSequence fileContent,
boolean constructor,
org.eclipse.jdt.core.dom.MethodDeclaration ast)
public void setReturnType(refdiff.core.cst.CstNode method,
java.lang.String normalizeTypeName)
public void addParameter(refdiff.core.cst.CstNode method,
java.lang.String identifier,
java.lang.String typeName)
public refdiff.core.cst.CstRoot getRoot()