Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Modifiers | Name | Description |
---|---|---|
static class |
Inspector.MemberComparator |
Modifiers | Name | Description |
---|---|---|
static int |
CLASS_CLASS_IDX |
|
static int |
CLASS_INTERFACE_IDX |
|
static int |
CLASS_OTHER_IDX |
|
static int |
CLASS_PACKAGE_IDX |
|
static int |
CLASS_SUPERCLASS_IDX |
|
static String |
GROOVY |
|
static String |
JAVA |
|
static int |
MEMBER_DECLARER_IDX |
|
static int |
MEMBER_EXCEPTIONS_IDX |
|
static int |
MEMBER_MODIFIER_IDX |
|
static int |
MEMBER_NAME_IDX |
|
static int |
MEMBER_ORIGIN_IDX |
|
static int |
MEMBER_PARAMS_IDX |
|
static int |
MEMBER_TYPE_IDX |
|
static int |
MEMBER_VALUE_IDX |
|
static String |
NOT_APPLICABLE |
|
protected Object |
objectUnderInspection |
Type | Name and description |
---|---|
protected String[] |
fieldInfo(Field field) |
protected String[] |
fieldInfo(PropertyValue pv) |
String[] |
getClassProps() Get the Class Properties of the object under inspection. |
protected Class |
getClassUnderInspection() |
Object[] |
getMetaMethods() Get info about instance and class Methods that are dynamically added through Groovy. |
Object[] |
getMethods() Get info about usual Java instance and class Methods as well as Constructors. |
Object |
getObject() Gets the object being inspected. |
Object[] |
getPropertyInfo() Get info about Properties (Java and Groovy alike). |
Object[] |
getPublicFields() Get info about usual Java public fields incl. constants. |
boolean |
isGroovy() |
protected String[] |
methodInfo(Method method) |
protected String[] |
methodInfo(Constructor ctor) |
protected String[] |
methodInfo(MetaMethod method) |
static void |
print(Object[] memberInfo) |
static String |
shortName(Class clazz) |
static Collection |
sort(List<Object> memberInfo) |
protected String[] |
withoutNulls(String[] toNormalize) |
objectUnderInspection
- must not be nullGet the Class Properties of the object under inspection.
Get info about instance and class Methods that are dynamically added through Groovy.
Get info about usual Java instance and class Methods as well as Constructors.
Gets the object being inspected.
Get info about Properties (Java and Groovy alike).
Get info about usual Java public fields incl. constants.
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.