Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.Quad
Class MethodSummary.UnknownTypeNode  view MethodSummary.UnknownTypeNode download MethodSummary.UnknownTypeNode.java

java.lang.Object
  extended byCompil3r.Quad.MethodSummary.Node
      extended byCompil3r.Quad.MethodSummary.UnknownTypeNode
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
MethodSummary

public static final class MethodSummary.UnknownTypeNode
extends MethodSummary.Node

A UnknownTypeNode refers to an object with an unknown type. All that is known is that the object is the same or a subtype of some given type. Nodes with the same "type" are considered to be equal. This class includes a factory to get UnknownTypeNode's.


Field Summary
static boolean ADD_DUMMY_EDGES
           
(package private) static java.util.HashMap FACTORY
           
(package private)  Compil3r.Quad.AndersenInterface.AndersenReference type
           
 
Fields inherited from class Compil3r.Quad.MethodSummary.Node
accessPathEdges, addedEdges, edgesToReasons, id, passedParameters, predecessors, TRACK_REASONS
 
Constructor Summary
private MethodSummary.UnknownTypeNode(Compil3r.Quad.AndersenInterface.AndersenReference type)
           
 
Method Summary
private  void addDummyEdges()
           
 MethodSummary.Node copy()
          Return a shallow copy of this node.
static MethodSummary.UnknownTypeNode get(Compil3r.Quad.AndersenInterface.AndersenReference type)
           
static java.util.Collection getAll()
           
 Compil3r.Quad.AndersenInterface.AndersenReference getDeclaredType()
          Return the declared type of this node.
 java.lang.String toString_long()
          Return a string representation of the node in long form.
 java.lang.String toString_short()
          Return a string representation of the node in short form.
 void update(java.util.HashMap um)
          Update all predecessor and successor nodes with the given update map.
 void write(MethodSummary ms, java.io.DataOutput out)
          Prints an identifier of this node to the given output writer.
 
Methods inherited from class Compil3r.Quad.MethodSummary.Node
addAccessPathEdge, addAccessPathEdges, addEdge, addEdges, addEdges, addGlobalEdges, addPredecessor, compareTo, compareTo, getAccessPathEdgeFields, getAccessPathEdges, getAccessPathEdges, getEdgeFields, getEdges_escaped, getEdges, getEdges, getEdges, getEscapes, getNonEscapingEdges, getPassedParameters, getPredecessors, getSourceQuad, hasAccessPathEdge, hasAccessPathEdges, hasEdge, hasEdges, hashCode, hasPredecessor, recordPassedParameter, recordPassedParameter, removeAccessPathEdge, removeEdge, removePredecessor, replaceBy, setEscapes, toString, updateMap_unknown, updateMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ADD_DUMMY_EDGES

public static final boolean ADD_DUMMY_EDGES
See Also:
Constant Field Values

FACTORY

static final java.util.HashMap FACTORY

type

final Compil3r.Quad.AndersenInterface.AndersenReference type
Constructor Detail

MethodSummary.UnknownTypeNode

private MethodSummary.UnknownTypeNode(Compil3r.Quad.AndersenInterface.AndersenReference type)
Method Detail

get

public static MethodSummary.UnknownTypeNode get(Compil3r.Quad.AndersenInterface.AndersenReference type)

getAll

public static java.util.Collection getAll()

addDummyEdges

private void addDummyEdges()

update

public void update(java.util.HashMap um)
Update all predecessor and successor nodes with the given update map. Also clones the passed parameter set.

Overrides:
update in class MethodSummary.Node

getDeclaredType

public Compil3r.Quad.AndersenInterface.AndersenReference getDeclaredType()
Description copied from class: MethodSummary.Node
Return the declared type of this node.

Specified by:
getDeclaredType in class MethodSummary.Node

copy

public final MethodSummary.Node copy()
Description copied from class: MethodSummary.Node
Return a shallow copy of this node.

Specified by:
copy in class MethodSummary.Node

toString_long

public java.lang.String toString_long()
Description copied from class: MethodSummary.Node
Return a string representation of the node in long form. Includes inside and outside edges and passed parameters.

Overrides:
toString_long in class MethodSummary.Node

toString_short

public java.lang.String toString_short()
Description copied from class: MethodSummary.Node
Return a string representation of the node in short form.

Specified by:
toString_short in class MethodSummary.Node

write

public void write(MethodSummary ms,
                  java.io.DataOutput out)
           throws java.io.IOException
Description copied from class: MethodSummary.Node
Prints an identifier of this node to the given output writer.

Specified by:
write in class MethodSummary.Node