org.mutabilitydetector.locations
Class ClassLocation
java.lang.Object
org.mutabilitydetector.locations.ClassLocation
- All Implemented Interfaces:
- Comparable<ClassLocation>, CodeLocation<ClassLocation>
@Immutable
public final class ClassLocation
- extends Object
- implements CodeLocation<ClassLocation>
ClassLocation
public ClassLocation(String dottedClassName)
typeName
public String typeName()
- Specified by:
typeName
in interface CodeLocation<ClassLocation>
compareTo
public int compareTo(ClassLocation other)
- Specified by:
compareTo
in interface Comparable<ClassLocation>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
fromInternalName
public static ClassLocation fromInternalName(String internalClassName)
from
public static ClassLocation from(Slashed slashed)
from
public static ClassLocation from(Dotted dotted)
prettyPrint
public String prettyPrint()
- Specified by:
prettyPrint
in interface CodeLocation<ClassLocation>
Copyright © 2013. All Rights Reserved.