Package io.determann.shadow.api.shadow
Interface Method
- All Superinterfaces:
AbstractModifiable,AccessModifiable,Annotationable<ExecutableElement>,ApiHolder,DefaultModifiable,ElementBacked<ExecutableElement>,Executable,FinalModifiable,MirrorBacked<ExecutableType>,Modifiable,NativeModifiable,Shadow<ExecutableType>,StaticModifiable,StrictfpModifiable
- All Known Implementing Classes:
ExecutableImpl
public interface Method
extends Executable, Annotationable<ExecutableElement>, StaticModifiable, DefaultModifiable, AccessModifiable, AbstractModifiable, FinalModifiable, StrictfpModifiable, NativeModifiable
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbe careful using this equalsbooleanbooleanoverwrittenBy(Method method) booleansameParameterTypes(Method method) Do both methods have the same parameter types in the same order? a() && b() -> true a(String name) && b() -> false a(String name, Long id) && b(Long id, String name) -> false a(String name) && b(String name2) -> true a(List list) && b(List<String> strings) -> true a(List<String> strings) b(List list) -> falseMethods inherited from interface io.determann.shadow.api.modifier.AbstractModifiable
isAbstractMethods inherited from interface io.determann.shadow.api.modifier.AccessModifiable
isPackagePrivate, isPrivate, isProtected, isPublicMethods inherited from interface io.determann.shadow.api.Annotationable
getAnnotationUsages, getDirectAnnotationUsages, getDirectUsageOf, getDirectUsageOfOrThrow, getDirectUsagesOf, getUsageOf, getUsageOfOrThrow, getUsagesOf, isAnnotatedWith, isDirectlyAnnotatedWithMethods inherited from interface io.determann.shadow.api.modifier.DefaultModifiable
isDefaultMethods inherited from interface io.determann.shadow.api.ElementBacked
getElement, getJavaDoc, getModifiers, getModule, getSimpleName, logError, logInfo, logWarningMethods inherited from interface io.determann.shadow.api.shadow.Executable
getFormalGenerics, getPackage, getParameterOrThrow, getParameters, getParameterTypes, getReceiverType, getReturnType, getSurrounding, getThrows, isBridge, isVarArgsMethods inherited from interface io.determann.shadow.api.modifier.FinalModifiable
isFinalMethods inherited from interface io.determann.shadow.api.modifier.Modifiable
hasModifierMethods inherited from interface io.determann.shadow.api.modifier.NativeModifiable
isNativeMethods inherited from interface io.determann.shadow.api.shadow.Shadow
getApi, getMirror, getTypeKind, isTypeKind, representsSameTypeMethods inherited from interface io.determann.shadow.api.modifier.StaticModifiable
isStaticMethods inherited from interface io.determann.shadow.api.modifier.StrictfpModifiable
isStrictfp
-
Method Details
-
overrides
-
overwrittenBy
-
sameParameterTypes
Do both methods have the same parameter types in the same order? a() && b() -> true a(String name) && b() -> false a(String name, Long id) && b(Long id, String name) -> false a(String name) && b(String name2) -> true a(List list) && b(List<String> strings) -> true a(List<String> strings) b(List list) -> false -
equals
be careful using this equals- Specified by:
equalsin interfaceExecutable- Specified by:
equalsin interfaceShadow<ExecutableType>- Overrides:
equalsin classObject- See Also:
-