| Constructor and Description |
|---|
JavaAstScanner(JavaSquidConfiguration conf,
SourceCode project) |
| Modifier and Type | Method and Description |
|---|---|
SourceCode |
JavaAstVisitor.peekSourceCode() |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaAstVisitor.addSourceCode(SourceCode child) |
static void |
AstUtils.ensureResourceType(SourceCode resource,
Class<? extends SourceCode> resourceType) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AstUtils.ensureResourceType(SourceCode resource,
Class<? extends SourceCode> resourceType) |
void |
JavaAstVisitor.setSourceCodeStack(Stack<SourceCode> sourceCodeStack) |
| Modifier and Type | Method and Description |
|---|---|
protected BytecodeScanner |
BytecodeScanner.scan(Collection<SourceCode> classes,
AsmClassProvider classProvider) |
| Constructor and Description |
|---|
DependenciesVisitor(DirectedGraph<SourceCode,SourceCodeEdge> graph) |
| Modifier and Type | Method and Description |
|---|---|
void |
DesignBridge.saveFileDependencies(Set<SourceCode> squidFiles)
Save file dependencies
|
void |
DesignBridge.savePackageDependencies(Set<SourceCode> squidPackages)
Save package dependencies, including root file dependencies
|
static String |
DsmSerializer.serialize(Dsm<SourceCode> dsm,
DependencyIndex dependencyIndex,
ResourceIndex resourceIndex) |
| Modifier and Type | Method and Description |
|---|---|
SourceCode |
Squid.search(String key) |
| Modifier and Type | Method and Description |
|---|---|
Set<SourceCode> |
Squid.getVertices() |
Collection<SourceCode> |
Squid.search(Query... query) |
| Modifier and Type | Method and Description |
|---|---|
SourceCodeEdge |
Squid.getEdge(SourceCode from,
SourceCode to) |
Collection<SourceCodeEdge> |
Squid.getIncomingEdges(SourceCode to) |
Collection<SourceCodeEdge> |
Squid.getOutgoingEdges(SourceCode from) |
boolean |
Squid.hasEdge(SourceCode from,
SourceCode to) |
| Modifier and Type | Method and Description |
|---|---|
List<SourceCodeEdge> |
Squid.getEdges(Collection<SourceCode> vertices) |
| Modifier and Type | Class and Description |
|---|---|
class |
SourceClass |
class |
SourceFile |
class |
SourceFunction |
class |
SourceMethod |
class |
SourcePackage |
class |
SourceProject |
| Modifier and Type | Method and Description |
|---|---|
<SOURCECODE extends SourceCode> |
SourceCode.getAncestor(Class<SOURCECODE> withClass) |
<SOURCECODE extends SourceCode> |
SourceCode.getParent(Class<SOURCECODE> sourceCode) |
| Modifier and Type | Method and Description |
|---|---|
SourceCode |
SourceCode.addChild(SourceCode sourceCode) |
SourceCode |
SourceCode.getFirstChild() |
SourceCode |
SourceCodeEdge.getFrom() |
SourceCode |
SourceCode.getLastChild() |
SourceCode |
SourceCode.getParent() |
SourceCode |
CheckMessage.getSourceCode() |
SourceCode |
SourceCodeEdge.getTo() |
SourceCode |
SourceCodeSearchEngine.search(String key) |
| Modifier and Type | Method and Description |
|---|---|
Set<SourceCode> |
SourceCode.getChildren() |
Collection<SourceCode> |
SourceCodeSearchEngine.search(Query... query) |
| Modifier and Type | Method and Description |
|---|---|
void |
SourceCode.add(MetricDef metric,
SourceCode child) |
SourceCode |
SourceCode.addChild(SourceCode sourceCode) |
int |
SourceCode.compareTo(SourceCode resource) |
boolean |
SourceCode.hasAmongParents(SourceCode expectedParent) |
boolean |
SourceCodeEdge.hasAnEdgeFromRootNode(SourceCode rootFromNode) |
boolean |
SourceCodeEdge.hasAnEdgeToRootNode(SourceCode rootToNode) |
boolean |
SourceCode.hasChild(SourceCode squidUnit) |
void |
SourceCodeIndexer.index(SourceCode sourceCode) |
boolean |
Query.match(SourceCode unit) |
void |
CheckMessage.setSourceCode(SourceCode sourceCode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SourceCode.isType(Class<? extends SourceCode> resourceType) |
| Constructor and Description |
|---|
SourceCodeEdge(SourceCode from,
SourceCode to,
SourceCodeEdgeUsage link) |
SourceCodeEdge(SourceCode from,
SourceCode to,
SourceCodeEdgeUsage usage,
SourceCodeEdge rootEdge) |
| Modifier and Type | Method and Description |
|---|---|
SourceCode |
SquidIndex.search(String key) |
| Modifier and Type | Method and Description |
|---|---|
Collection<SourceCode> |
SquidIndex.search(Query... query) |
| Modifier and Type | Method and Description |
|---|---|
void |
SquidIndex.index(SourceCode sourceCode) |
boolean |
QueryByType.match(SourceCode unit) |
boolean |
QueryByParent.match(SourceCode unit) |
boolean |
QueryByName.match(SourceCode unit) |
boolean |
QueryByMeasure.match(SourceCode unit) |
| Constructor and Description |
|---|
QueryByParent(SourceCode parent) |
| Constructor and Description |
|---|
QueryByType(Class<? extends SourceCode> resourceType) |
| Constructor and Description |
|---|
MeasuresDistribution(Collection<SourceCode> units) |
Copyright © 2009-2012 SonarSource. All Rights Reserved.