Java Code Examples for com.sun.org.apache.bcel.internal.classfile.JavaClass#instanceOf()

The following examples show how to use com.sun.org.apache.bcel.internal.classfile.JavaClass#instanceOf() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Repository.java    From jdk1.8-source-analysis with Apache License 2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}
 
Example 2
Source File: Repository.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}
 
Example 3
Source File: Repository.java    From jdk8u60 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}
 
Example 4
Source File: Repository.java    From JDKSourceCode1.8 with MIT License 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}
 
Example 5
Source File: Repository.java    From openjdk-jdk8u with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}
 
Example 6
Source File: Repository.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}
 
Example 7
Source File: Repository.java    From Bytecoder with Apache License 2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 * @throws ClassNotFoundException if any superclasses or superinterfaces
 *   of clazz can't be found
 */
public static boolean instanceOf( final JavaClass clazz, final JavaClass super_class )
        throws ClassNotFoundException {
    return clazz.instanceOf(super_class);
}
 
Example 8
Source File: Repository.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}
 
Example 9
Source File: Repository.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}
 
Example 10
Source File: Repository.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}
 
Example 11
Source File: Repository.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Equivalent to runtime "instanceof" operator.
 * @return true, if clazz is an instance of super_class
 */
public static boolean instanceOf(JavaClass clazz, JavaClass super_class) {
  return clazz.instanceOf(super_class);
}