Class StackEntry
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.stack.StackEntry
-
public class StackEntry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
artificalSourceCount
private long
id0
private java.util.Set<java.lang.Long>
ids
private InferredJavaType
inferredJavaType
private StackSSALabel
lValue
private static java.util.concurrent.atomic.AtomicLong
sid
private StackType
stackType
private long
usageCount
-
Constructor Summary
Constructors Constructor Description StackEntry(StackType stackType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decrementUsage()
void
decSourceCount()
boolean
equals(java.lang.Object o)
void
forceUsageCount(long newCount)
InferredJavaType
getInferredJavaType()
StackSSALabel
getLValue()
int
getSourceCount()
java.util.List<java.lang.Long>
getSources()
StackType
getType()
long
getUsageCount()
int
hashCode()
void
incrementUsage()
void
incSourceCount()
(package private) void
mergeWith(StackEntry other, java.util.Set<DecompilerComment> comments)
void
removeSource(long x)
java.lang.String
toString()
-
-
-
Field Detail
-
sid
private static final java.util.concurrent.atomic.AtomicLong sid
-
id0
private final long id0
-
ids
private final java.util.Set<java.lang.Long> ids
-
artificalSourceCount
private int artificalSourceCount
-
lValue
private final StackSSALabel lValue
-
usageCount
private long usageCount
-
stackType
private final StackType stackType
-
inferredJavaType
private final InferredJavaType inferredJavaType
-
-
Constructor Detail
-
StackEntry
StackEntry(StackType stackType)
-
-
Method Detail
-
incrementUsage
public void incrementUsage()
-
decrementUsage
public void decrementUsage()
-
forceUsageCount
public void forceUsageCount(long newCount)
-
mergeWith
void mergeWith(StackEntry other, java.util.Set<DecompilerComment> comments)
-
getUsageCount
public long getUsageCount()
-
getSourceCount
public int getSourceCount()
-
incSourceCount
public void incSourceCount()
-
decSourceCount
public void decSourceCount()
-
getSources
public java.util.List<java.lang.Long> getSources()
-
removeSource
public void removeSource(long x)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLValue
public StackSSALabel getLValue()
-
getType
public StackType getType()
-
getInferredJavaType
public InferredJavaType getInferredJavaType()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-