Example usage for java.lang.reflect Field hashCode

List of usage examples for java.lang.reflect Field hashCode

Introduction

In this page you can find the example usage for java.lang.reflect Field hashCode.

Prototype

public int hashCode() 

Source Link

Document

Returns a hashcode for this Field .

Usage

From source file:com.m4rc310.cb.builders.ComponentBuilder.java

private void addField(Field field) {
    if (!fields.contains(field)) {
        Acomponent ac = field.getDeclaredAnnotation(Acomponent.class);
        LogServer.getInstance().debug(null, "Adicionando a Field: [{0}] ~> {1}", field.hashCode(), ac.ref());
        fields.add(field);/*from www .ja v a 2  s .  co  m*/

        AbstractComponetAdapter adapter = getComponentAdapter(ac);
        LogServer.getInstance().debug(null, "agregando um <adapter> [{0}] para ~> {1}", adapter, ac.ref());
        adapters.put(field, adapter);

    } else {
        LogServer.getInstance().debug(null, "J contem a Field", field);
    }
}