Context node attribute expand trouble shooting guide
生活随笔
收集整理的這篇文章主要介紹了
Context node attribute expand trouble shooting guide
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
Created by Jerry Wang, last modified on Jan 23, 2015
如果context node attribute expand之后出現(xiàn)問(wèn)題,例如某些attribute 雖然期望出現(xiàn),但是展開后missing時(shí),可以在如下方法里設(shè)置斷點(diǎn):
然后展開attribute folder,斷點(diǎn)即可觸發(fā):
該method首先使用class API 讀取context node implementation class的metadata信息:
將所有public方法,名稱中包含GET,參數(shù)包含ATTRIBUTE_PATH和value 提取出來(lái),將方法名中GET_后的attribute name放入結(jié)果lt_direct_attributes中。
采用相同的邏輯再取super class的對(duì)應(yīng)屬性:
總結(jié)
以上是生活随笔為你收集整理的Context node attribute expand trouble shooting guide的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 魔兽世界怀旧服龙之召唤怎么样?史诗武器龙
- 下一篇: java在一台电脑上装两个或多个jdk如