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

  • Method Details

    • overrides

      boolean overrides(Method method)
    • overwrittenBy

      boolean overwrittenBy(Method method)
    • sameParameterTypes

      boolean sameParameterTypes(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) -> false
       
    • equals

      boolean equals(Object obj)
      be careful using this equals
      Specified by:
      equals in interface Executable
      Specified by:
      equals in interface Shadow<ExecutableType>
      Overrides:
      equals in class Object
      See Also: