Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.aspectwerkz.reflect
Class MetaDataInspector

    java.lang.Object
      org.codehaus.aspectwerkz.reflect.MetaDataInspector

    public class MetaDataInspector

extends Object

Inspects info.

Author:
  Alexandre Vasseur

Constructor Summary
`MetaDataInspector()`

Method Summary
`static boolean` | `hasField(ClassInfo classInfo, String fieldName)` Checks if a class has a certain field.
`static boolean` | `hasInterface(ClassInfo classInfo, String interfaceName)` Checks if a class implements a certain interface.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MetaDataInspector

    public MetaDataInspector()

Method Detail

### hasField

    public static boolean hasField(ClassInfo classInfo,
                                   String fieldName)

  Checks if a class has a certain field.

  Parameters:
    `classInfo` -
    `fieldName` -
  Returns:

### hasInterface

    public static boolean hasInterface(ClassInfo classInfo,
                                       String interfaceName)

  Checks if a class implements a certain interface.

  Parameters:
    `classInfo` -
    `interfaceName` -
  Returns:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.