Bonjour

j'ai une classe private qui n'est pas appelé par une autre méthode:
La classe qui doit être appelée est dessous:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
private static class PropertyInfo
    {
        private String alias;
        private String dpbName;
        private Integer dpbKey;
        private String description;
 
        private int hashCode;
 
        public PropertyInfo(String alias, String dpbName, Integer dpbKey,
                String description) {
            this.alias = alias;
            this.dpbName = dpbName;
            this.dpbKey = dpbKey;
            this.description = description;
 
            hashCode = 17;
            if (alias != null)
                hashCode ^= alias.hashCode();
 
            hashCode ^= dpbName.hashCode();
            hashCode ^= dpbKey.intValue();
        }
    }
Je dois l'appeler par le code qui est en dessous:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
    private String getCanonicalName(String propertyName)
    {
        PropertyInfo propInfo = (PropertyInfo)aliases.get(propertyName);
 
        if (propInfo == null) {
            int key;
            String tempKey = propertyName;
            if (!tempKey.startsWith(FBConnectionHelper.DPB_PREFIX))
            {
                tempKey = FBConnectionHelper.DPB_PREFIX + tempKey;
                PropertyInfo.PropertyInfo( propertyName, tempKey, key, propertyName);
            }
 
            propInfo = (PropertyInfo)dpbMap.get( key);
        }
        if( propInfo == null)
        {
            return propertyName;
        }
        else
        {
            return propInfo.dpbName;
        }
    }
Mais la propertyInfo.propertyInfo( propertyName, tempKey, key, propertyName);
n'est pas reconnue par le compilateur
Comment le faire reconnaitre? ce sera