Class: Java::JavaMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/duby/jvm/types/methods.rb

Instance Method Summary collapse

Instance Method Details

#abstract?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/duby/jvm/types/methods.rb', line 8

def abstract?
  java.lang.reflect.Modifier.abstract?(modifiers)
end

#static?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/duby/jvm/types/methods.rb', line 4

def static?
  java.lang.reflect.Modifier.static?(modifiers)
end