From 880653d31a8f1ff8384fdbc75b84934bceecfdb8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 18 Nov 2000 06:43:49 +0000 Subject: Initial revision --- gl4java/GL4JavaReflections.java | 163 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 gl4java/GL4JavaReflections.java (limited to 'gl4java/GL4JavaReflections.java') diff --git a/gl4java/GL4JavaReflections.java b/gl4java/GL4JavaReflections.java new file mode 100644 index 0000000..79969bf --- /dev/null +++ b/gl4java/GL4JavaReflections.java @@ -0,0 +1,163 @@ + +/** + * @(#) GL4JavaReflections.java + */ + +package gl4java; + +import java.lang.System; +import java.lang.String; +import java.lang.reflect.*; + +/** + * The function-declaration holder ! + * + * @see CFuncVariable + * @version 1.00, 12. Novemeber 1999 + * @author Sven Goethel + * + */ +public class GL4JavaReflections + implements Cloneable +{ + public Object methodClassInstance=null; + public Class type=null; + public String methodName=null; + public Class[] argList=null; + + public GL4JavaReflections ( Object methodClassInstance, + Class type, String methodName, + Class[] argList ) + { + this.methodClassInstance=methodClassInstance; + this.type=type; + this.methodName=methodName; + this.argList=argList; + } + + protected Object clone() + throws CloneNotSupportedException + { + int i; + Class[] args = new Class[argList.length]; + + for(i=0; i