Kaynağa Gözat

final updates for 3.1 release


git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@254 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
tags/rel_3_17_1_ga
chiba 18 yıl önce
ebeveyn
işleme
1e0a593630

+ 1
- 1
Readme.html Dosyayı Görüntüle



<h2>Changes</h2> <h2>Changes</h2>


<p>- version 3.1 on February 22, 2006
<p>- version 3.1 on February 23, 2006


<ul> <ul>
<li>getFields(), getMethods(), and getConstructors() in CtClass <li>getFields(), getMethods(), and getConstructors() in CtClass

+ 10
- 7
src/main/javassist/expr/FieldAccess.java Dosyayı Görüntüle

return super.mayThrow(); return super.mayThrow();
} }


/*
* Returns the type of the field.

public CtClass getFieldType() throws NotFoundException {
/**
* Returns the signature of the field type.
* The signature is represented by a character string
* called field descriptor, which is defined in the JVM specification.
*
* @see javassist.bytecode.Descriptor#toCtClass(String, ClassPool)
* @since 3.1
*/
public String getSignature() {
int index = iterator.u16bitAt(currentPos + 1); int index = iterator.u16bitAt(currentPos + 1);
String type = getConstPool().getFieldrefType(index);
return Descriptor.toCtClass(type, thisClass.getClassPool());
return getConstPool().getFieldrefType(index);
} }
*/


/** /**
* Replaces the method call with the bytecode derived from * Replaces the method call with the bytecode derived from

+ 6
- 1
src/main/javassist/expr/NewExpr.java Dosyayı Görüntüle



/** /**
* Get the signature of the constructor * Get the signature of the constructor
*
*
* The signature is represented by a character string
* called method descriptor, which is defined in the JVM specification.
*
* @see javassist.CtBehavior#getSignature()
* @see javassist.bytecode.Descriptor
* @return the signature * @return the signature
*/ */
public String getSignature() { public String getSignature() {

Loading…
İptal
Kaydet