Package org.benf.cfr.reader.relationship
Class MemberNameResolver.MemberInfo
- java.lang.Object
-
- org.benf.cfr.reader.relationship.MemberNameResolver.MemberInfo
-
- Enclosing class:
- MemberNameResolver
private static class MemberNameResolver.MemberInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<MemberNameResolver.MethodKey>
clashes
private ClassFile
classFile
private java.util.Map<MemberNameResolver.MethodKey,java.util.Map<JavaTypeInstance,java.util.Collection<Method>>>
knownMethods
-
Constructor Summary
Constructors Modifier Constructor Description private
MemberInfo(ClassFile classFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Method method)
private void
add(MemberNameResolver.MethodKey key1, JavaTypeInstance key2, Method method, boolean fromParent)
(package private) void
addClash(MemberNameResolver.MethodKey clash)
(package private) void
addClashes(java.util.Set<MemberNameResolver.MethodKey> newClashes)
(package private) java.util.Map<JavaTypeInstance,java.util.Collection<Method>>
getClashedMethodsFor(MemberNameResolver.MethodKey key)
(package private) java.util.Set<MemberNameResolver.MethodKey>
getClashes()
(package private) boolean
hasClashes()
(package private) void
inheritFrom(MemberNameResolver.MemberInfo base)
java.lang.String
toString()
-
-
-
Field Detail
-
classFile
private final ClassFile classFile
-
knownMethods
private final java.util.Map<MemberNameResolver.MethodKey,java.util.Map<JavaTypeInstance,java.util.Collection<Method>>> knownMethods
-
clashes
private final java.util.Set<MemberNameResolver.MethodKey> clashes
-
-
Constructor Detail
-
MemberInfo
private MemberInfo(ClassFile classFile)
-
-
Method Detail
-
add
public void add(Method method)
-
add
private void add(MemberNameResolver.MethodKey key1, JavaTypeInstance key2, Method method, boolean fromParent)
-
hasClashes
boolean hasClashes()
-
getClashes
java.util.Set<MemberNameResolver.MethodKey> getClashes()
-
addClashes
void addClashes(java.util.Set<MemberNameResolver.MethodKey> newClashes)
-
addClash
void addClash(MemberNameResolver.MethodKey clash)
-
getClashedMethodsFor
java.util.Map<JavaTypeInstance,java.util.Collection<Method>> getClashedMethodsFor(MemberNameResolver.MethodKey key)
-
inheritFrom
void inheritFrom(MemberNameResolver.MemberInfo base)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-