Experiments with ruby-processing (processing-2.2.1) and JRubyArt for processing-3.0

Wednesday 13 March 2013

PeasyCam for processing-2.0 under the Hood

Now more interestingly lets take a look at PeasyCam (an unofficial update for processing-2.0 that uses reflection to registerMethod("mouseEvent", this) here we can see lots of "access" methods, this must be when java reflection is used:-
puts cam.class.methods

access$2600
access$2800
access$2000
access$100
access$1402
java_send
access$1000
access$2400
access$600
access$1800
access$500
access$900
access$2500
[]
apply
access$600?
access$2200
access$700
access$800
access$1500
access$2300
access$000
access$1302
access$1400
access$1500?
access$300
access$1700
access$2700
access$1200
java_method
access$1600
access$2302
access$400?
access$200
access$1900
access$1300
access$2102
access$1100
access$1002
access$400
access$000?
inherited
new
singleton_class
java_class
field_writer
new_array
__persistent__=
__persistent__
field_accessor
field_reader
java_class=
yaml_tag
allocate
superclass
const_get
private_constant
public_instance_methods
autoload?
freeze
class_variable_get
const_missing
included_modules
==
class_exec
psych_yaml_as
public_class_method
ancestors
instance_method
<
yaml_as
protected_method_defined?
>
===
private_instance_methods
hash
class_variables
public_constant
<=
method_defined?
instance_methods
class_variable_defined?
name
private_method_defined?
const_set
autoload
include?
protected_instance_methods
module_exec
module_eval
<=>
constants
private_class_method
class_variable_set
to_s
public_method_defined?
class_eval
>=
remove_class_variable
const_defined?
handle_different_imports
psych_to_yaml
include_class
to_yaml
java_kind_of?
to_yaml_properties
java_signature
methods
define_singleton_method
initialize_clone
extend
nil?
tainted?
method
is_a?
instance_variable_defined?
instance_variable_get
instance_variable_set
public_method
display
send
private_methods
enum_for
com
to_java
public_send
instance_of?
taint
class
java_annotation
instance_variables
!~
org
untrust
=~
protected_methods
trust
inspect
java_implements
tap
frozen?
initialize_dup
java
respond_to?
java_package
untaint
respond_to_missing?
clone
java_name
to_enum
singleton_methods
untrusted?
eql?
kind_of?
dup
java_require
javax
public_methods
instance_exec
__send__
instance_eval
equal?
object_id
__id__
!
!=

No comments:

Post a Comment

Followers

Blog Archive

About Me

My photo
I have developed JRubyArt and propane new versions of ruby-processing for JRuby-9.1.5.0 and processing-3.2.2