com.sun.jini.example.browser
Class Introspector

java.lang.Object
  extended by com.sun.jini.example.browser.Introspector

 class Introspector
extends Object

Introspection related methods

Version:
0.2 06/04/98
Author:
Sun Microsystems, Inc.

Constructor Summary
Introspector()
           
 
Method Summary
static String extractClassName(String fullName)
           
static String getFieldString(Field f, boolean showModifier, boolean showPackage)
          Print the modifiers, type, and name of a field.
static String getModifierString(int m)
          Return a string version of modifiers, handling spaces nicely.
static String getTypename(Class t, boolean showPackage)
          Return the name of an interface or primitive type, handling arrays.
static boolean isHidden(Field f)
           
static boolean isString(Class clazz)
           
static boolean isWrapper(Class clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Introspector

Introspector()
Method Detail

isHidden

public static boolean isHidden(Field f)

isString

public static boolean isString(Class clazz)

isWrapper

public static boolean isWrapper(Class clazz)

getTypename

public static String getTypename(Class t,
                                 boolean showPackage)
Return the name of an interface or primitive type, handling arrays.


getModifierString

public static String getModifierString(int m)
Return a string version of modifiers, handling spaces nicely.


getFieldString

public static String getFieldString(Field f,
                                    boolean showModifier,
                                    boolean showPackage)
Print the modifiers, type, and name of a field.


extractClassName

public static String extractClassName(String fullName)


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.