2018-11-10 10:46:36 +01:00
|
|
|
/*
|
2021-05-02 14:03:25 +02:00
|
|
|
Copyright 2018 - 2021 Volker Berlin (i-net software)
|
2018-11-10 10:46:36 +01:00
|
|
|
|
|
|
|
Licensed 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.
|
|
|
|
|
|
|
|
*/
|
|
|
|
package de.inetsoftware.classparser;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Described a field, method, function, etc.
|
|
|
|
*
|
|
|
|
* @author Volker Berlin
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public interface Member {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The simple name without package
|
|
|
|
*
|
|
|
|
* @return the name
|
|
|
|
*/
|
|
|
|
String getName();
|
|
|
|
|
|
|
|
/**
|
2021-05-02 14:03:25 +02:00
|
|
|
* The class name of the declaring class like "java/lang/Object".
|
2018-11-10 10:46:36 +01:00
|
|
|
*
|
|
|
|
* @return the class name
|
|
|
|
*/
|
|
|
|
String getClassName();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the type of the method or field. For example "(Ljava.lang.String;)I"
|
|
|
|
*
|
|
|
|
* @return the type
|
|
|
|
*/
|
|
|
|
String getType();
|
|
|
|
}
|