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

Quick Search    Search Deep

com.puppycrawl.tools.checkstyle.bcel.generic
Class Utils  view Utils download Utils.java

java.lang.Object
  extended bycom.puppycrawl.tools.checkstyle.bcel.generic.Utils

public class Utils
extends java.lang.Object

Utility methods.

Version:
17-Jun-2003

Constructor Summary
Utils()
           
 
Method Summary
static boolean isCompatible(org.apache.bcel.generic.Type aSubType, org.apache.bcel.generic.Type aSuperType)
          Tests whether one type is compatible with another for method invocation conversion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

isCompatible

public static boolean isCompatible(org.apache.bcel.generic.Type aSubType,
                                   org.apache.bcel.generic.Type aSuperType)
Tests whether one type is compatible with another for method invocation conversion. This includes assignment conversion, except the implicit narrowing of integer constants. JLS Section 5.2