* java/lang/reflect/Field.java: Made many methods private.
From-SVN: r46467
This commit is contained in:
@@ -144,7 +144,7 @@ public final class Field extends AccessibleObject implements Member
|
||||
private native double getDouble (Class caller, Object obj)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
public native Object get (Class caller, Object obj)
|
||||
private native Object get (Class caller, Object obj)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
public void setByte (Object obj, byte b)
|
||||
@@ -195,28 +195,28 @@ public final class Field extends AccessibleObject implements Member
|
||||
setBoolean(null, obj, b);
|
||||
}
|
||||
|
||||
public native void setByte (Class caller, Object obj, byte b)
|
||||
private native void setByte (Class caller, Object obj, byte b)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
public native void setShort (Class caller, Object obj, short s)
|
||||
private native void setShort (Class caller, Object obj, short s)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
public native void setInt (Class caller, Object obj, int i)
|
||||
private native void setInt (Class caller, Object obj, int i)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
public native void setLong (Class caller, Object obj, long l)
|
||||
private native void setLong (Class caller, Object obj, long l)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
public native void setFloat (Class caller, Object obj, float f)
|
||||
private native void setFloat (Class caller, Object obj, float f)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
public native void setDouble (Class caller, Object obj, double d)
|
||||
private native void setDouble (Class caller, Object obj, double d)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
public native void setChar (Class caller, Object obj, char c)
|
||||
private native void setChar (Class caller, Object obj, char c)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
public native void setBoolean (Class caller, Object obj, boolean b)
|
||||
private native void setBoolean (Class caller, Object obj, boolean b)
|
||||
throws IllegalArgumentException, IllegalAccessException;
|
||||
|
||||
private native void set (Class caller, Object obj, Object val, Class type)
|
||||
@@ -228,7 +228,7 @@ public final class Field extends AccessibleObject implements Member
|
||||
set(null, object, value);
|
||||
}
|
||||
|
||||
public void set (Class caller, Object object, Object value)
|
||||
private void set (Class caller, Object object, Object value)
|
||||
throws IllegalArgumentException, IllegalAccessException
|
||||
{
|
||||
Class type = getType();
|
||||
|
||||
Reference in New Issue
Block a user