Class DummyProjectMemoizer<T extends QualifiableNode,O extends QualifiableNode>
- java.lang.Object
-
- net.sourceforge.pmd.lang.metrics.internal.DummyProjectMemoizer<T,O>
-
- All Implemented Interfaces:
ProjectMemoizer<T,O>
public final class DummyProjectMemoizer<T extends QualifiableNode,O extends QualifiableNode> extends Object implements ProjectMemoizer<T,O>
Memoizes nothing.- Since:
- 6.11.0
- Author:
- Clément Fournier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricMemoizer<T>
getClassMemoizer(QualifiedName qname)
Gets the class metric memoizer corresponding to the qualified name.static <T extends QualifiableNode,O extends QualifiableNode>
DummyProjectMemoizer<T,O>getInstance()
MetricMemoizer<O>
getOperationMemoizer(QualifiedName qname)
Gets the operation metric memoizer corresponding to the qualified name.
-
-
-
Method Detail
-
getOperationMemoizer
public MetricMemoizer<O> getOperationMemoizer(QualifiedName qname)
Description copied from interface:ProjectMemoizer
Gets the operation metric memoizer corresponding to the qualified name.- Specified by:
getOperationMemoizer
in interfaceProjectMemoizer<T extends QualifiableNode,O extends QualifiableNode>
- Parameters:
qname
- The qualified name of the operation to fetch- Returns:
- The correct memoizer, or null if it wasn't found
-
getClassMemoizer
public MetricMemoizer<T> getClassMemoizer(QualifiedName qname)
Description copied from interface:ProjectMemoizer
Gets the class metric memoizer corresponding to the qualified name.- Specified by:
getClassMemoizer
in interfaceProjectMemoizer<T extends QualifiableNode,O extends QualifiableNode>
- Parameters:
qname
- The qualified name of the class to fetch- Returns:
- The correct memoizer, or null if it wasn't found
-
getInstance
public static <T extends QualifiableNode,O extends QualifiableNode> DummyProjectMemoizer<T,O> getInstance()
-
-